SSRF in Guzzle library in Drupal - CVE-2016-5385
Published: August 27, 2016
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary commands on vulnerable system.
The vulnerability exists due to usage of third-party PHP library Guzzle for performing server-side HTTP requests. A remote attacker can use malicious server that returns a 301 HTTP redirect response to local resource to connect to services within internal network or on localhost.
Successful exploitation of this vulnerability may allow an attacker to perform SSRF attack to retrieve information for further attacks against vulnerable system by performing unauthorized connections to local resources, gain access to sensitive information and compromise vulnerable system.
Note: this vulnerability is being actively exploited in the wild and is referred as HTTPoxy.
Affected software
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Fedora
Red Hat Enterprise Linux EUS Compute Node
Slackware Linux
php-guzzlehttp-guzzle
php54-php (Red Hat package)
php55-php (Red Hat package)
rh-php56-php (Red Hat package)
php
php-guzzlehttp-guzzle6
How to mitigate CVE-2016-5385
https://www.drupal.org/project/drupal/releases/8.1.7
php54-php (Red Hat package) - addressed in versions 5.4.40-4.el6, 5.4.40-4.el7
php55-php (Red Hat package) - addressed in versions 5.5.21-5.el6, 5.5.21-5.el7
rh-php56-php (Red Hat package) - addressed in versions 5.6.5-9.el6, 5.6.5-9.el7
php - addressed in versions 5.6.24-1.fc23, 5.6.24-2.fc24
php-guzzlehttp-guzzle6 - addressed in versions 6.2.1-1.fc23, 6.2.1-1.fc24
External References
Related Security Bulletins
- Server-side request forgery in Drupal 8.x
- Red Hat update for php
- Red Hat update for php
- Slackware Linux update for php
- Fedora 23 update for php-guzzlehttp-guzzle6
- Fedora 24 update for php-guzzlehttp-guzzle6
- Fedora 23 update for php-guzzlehttp-guzzle
- Fedora EPEL 7 update for php-guzzlehttp-guzzle
- Fedora 24 update for php-guzzlehttp-guzzle
- Fedora 23 update for php
- Fedora 24 update for php
- Red Hat Software Collections update for rh-php56-php
- Red Hat Software Collections update for php55-php
- Red Hat Software Collections update for php54-php