CVE-2016-5114 sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information....
CriticalCVSS 9.1
EPSS 4.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.5.30 | No fix listed |
| PHP | = 5.6.0-alpha1 | No fix listed |
| PHP | = 5.6.0-alpha2 | No fix listed |
| PHP | = 5.6.0-alpha3 | No fix listed |
| PHP | = 5.6.0-alpha4 | No fix listed |
| PHP | = 5.6.0-alpha5 | No fix listed |
| PHP | = 5.6.0-beta1 | No fix listed |
| PHP | = 5.6.0-beta2 | No fix listed |
| PHP | = 5.6.0-beta3 | No fix listed |
| PHP | = 5.6.0-beta4 | No fix listed |
| PHP | = 5.6.1 | No fix listed |
| PHP | = 5.6.2 | No fix listed |
| PHP | = 5.6.3 | No fix listed |
| PHP | = 5.6.4 | No fix listed |
| PHP | = 5.6.5 | No fix listed |
| PHP | = 5.6.6 | No fix listed |
| PHP | = 5.6.7 | No fix listed |
| PHP | = 5.6.8 | No fix listed |
| PHP | = 5.6.9 | No fix listed |
| PHP | = 5.6.10 | No fix listed |
| PHP | = 5.6.11 | No fix listed |
| PHP | = 5.6.12 | No fix listed |
| PHP | = 5.6.13 | No fix listed |
| PHP | = 5.6.14 | No fix listed |
| PHP | = 5.6.15 | No fix listed |
Show 3 more
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 5.6.16 | No fix listed |
| PHP | = 7.0.0 | No fix listed |
| PHP | = 7.0.1 | No fix listed |
References
- github.com
- php.net patch release-notes
- php.net patch release-notes
- RHSA-2016:2750 vendor-advisory
- [oss-security] 20160528 Re: Fwd: PHP-FPM fpm_log.c memory leak and buffer overflow mailing-list release-notes
- www.search-lab.hu patch third-party-advisory
- bugs.php.net exploit
- h20566.www2.hpe.com