what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Hipchat Server Remote Code Execution / File Read / SSRF

Hipchat Server Remote Code Execution / File Read / SSRF
Posted May 14, 2016
Authored by David Black

HipChat Server versions below 2.0 build 1.4.1 suffer from vulnerabilities including code execution, insufficient shell characters, file deletion, file moving, local file read, and Server-Side Request Forgery.

tags | advisory, shell, local, vulnerability, code execution
SHA-256 | 51f7ff56cb32406c73d6232aee84e2cf2951d8dbfedaba6c3b94f1aa3ec2d083

Hipchat Server Remote Code Execution / File Read / SSRF

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Note: the current version of this advisory can be found at
https://confluence.atlassian.com/x/96hMMQ .


CVE IDs:
* CVE-2016-3714 - ImageMagick - Insufficient shell characters
filtering leads to (potentially * remote) code execution
* CVE-2016-3715 - ImageMagick - File deletion
* CVE-2016-3716 - ImageMagick - File moving
* CVE-2016-3717 - ImageMagick - Local file read
* CVE-2016-3718 - ImageMagick - SSRF (Server-Side Request Forgery)


Product: HipChat Server.

Affected Hipchat Server versions:
version < 2.0 build 1.4.1

Fixed HipChat Server versions:
Version 2.0 build 1.4.1 of HipChat Server has been released with a fix
for this issue.


Summary:
This advisory discloses a critical severity security vulnerability in
HipChat Server. All versions of HipChat Server before version 2.0
build 1.4.1 are vulnerable.

Hipchat Cloud instances have already been upgraded to a version of
HipChat which does not have the issue described on this page.

Customers who have upgraded HipChat Server to version 2.0 build 1.4.1
or later are not affected.

Customers who have downloaded and installed HipChat Server less than
version 2.0 build 1.4.1

Please upgrade your HipChat Server installations immediately to fix
this vulnerability.


ImageMagick Image Parsing Vulnerabilities including CVE-2016-3714
(Remote Code Execution), CVE-2016-3715, CVE-2016-3716, CVE-2016-3717
and CVE-2016-3718
Severity:
Atlassian rates the severity level of this vulnerability as critical,
according to the scale published in our Atlassian severity levels. The
scale allows us to rank a severity as critical, high, moderate, or
low.
This is an independent assessment and you should evaluate its
applicability to your own IT environment.

Description:

HipChat Server used a vulnerable version of the ImageMagick library
without restricting coders. Attackers who can log in can use the
ImageMagick vulnerabilities in vulnerable versions of HipChat Server
to:

* Execute remote code of their choice
* Delete files that the www-data user has permission to delete
* Move files that the www-data user has permission to move
* Read files that the www-data user has permission to read
* Make http requests to local and internal services

To exploit this issue, attackers need to have a valid account in a
vulnerable HipChat Server instance.

All versions of HipChat Server before version 2.0 build 1.4.1 are
affected by this vulnerability. This issue can be tracked here:
https://jira.atlassian.com/browse/BAM-17099


Fix:

We have taken the following steps to address these issues:
Released HipChat Server version 2.0 build 1.4.1 that contains fixes
for these issues. As of version 2.0 build 1.4.1 -
* HipChat Server checks if a file is a supported image format before
passing the file to the ImageMagick library.
* HipChat Server uses a policy file to disable vulnerable ImageMagick coders.

Remediation:
Upgrade HipChat Server to version 2.0 build 1.4.1 or higher.

Information on upgrading HipChat Server can be found at
https://confluence.atlassian.com/hc/upgrading-hipchat-server-606306347.html.


How do I check which version of HipChat Sever I am running?

You can check which version of HipChat Server you are running by going
to https://your-server/server_admin/upgrade or by using ssh to log in
to your HipChat Server and run cat /etc/hipchat-release.

For a full description of the latest version of HipChat Server, see
https://confluence.atlassian.com/hc/hipchat-server-release-notes-608731400.html.


Support:
If you have questions or concerns regarding this advisory, please
raise a support request at https://support.atlassian.com/ .



- --
David Black / Security Engineer.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXNWUWAAoJECQgl6K8Unag47IP/3KVjVhAUYD5Hdu8hWN2cwHF
X/fyelKzGyXokiQK9TfKQ2K88oV8FLJnEgFGMxliwHZF0v8xj+EukHhf8axFZ1gF
OIqFYk4Ba7igjaqvDewJhcOc9wPhX/eb9vBI8NiZYfcU135DZMV+kU70YthjZ3Ks
V6rw5S/mgAL8HEpLXA0Z4OB4iRUuUwJ+l7OYp0bypKzswS4dpRzh7kIWGotiM3yl
IK0gh6wT47/yZSB0ZFfBq+2oER43gzlK+0bUmp81G/SX4Q6rVbs6SXhl+ASs1+kv
ZspX3qXExbzmcEbArFDgbH94xgvRhz2LGYExS0GKwmn8m0BW67lVq8gqysoi48Zf
UPfVsl7ycoKTE9ndiwvZprJTZQvxaxUhSe5AotgjOLRlsV0qSqdO+C2y5kiDgIQK
cO/RRlxzuTVPgeHixbij4/jr6Et4u2aaRzGrXPLa0jY6UrXohiDO3Tg7lyGe1l5p
OLf6TPym2UTut72og5sdl1W5YDBNfoIHEPooz/J+9DPbH7M+KdZqmB4GRVBiNsR8
8+/Em6mRroCxo0Ftb/wPZnqEVVnIOdKTdkpCdN2hdIWw2RozmTa5AlpMzeGB9XRT
rCaMBKtI0cyEXJJgp+kKpZqLDIXGHxO/FYCfYjJDHP+g/FVk2sKvK+iPxiDhLKV3
vvekIpX7436tJbuYqVmW
=2xDm
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    14 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close