CVE-2018-7584 In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex fu...
CriticalCVSS 9.8
EPSS 87.3%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
Description
In PHP through 5.6.33, 7.0.x before 7.0.28, 7.1.x through 7.1.14, and 7.2.x through 7.2.2, there is a stack-based buffer under-read while parsing an HTTP response in the php_stream_url_wrap_http_ex function in ext/standard/http_fopen_wrapper.c. This subsequently results in copying a large string.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | <= 5.6.33 | No fix listed |
| PHP | >= 7.0.0, < 7.0.28 | 7.0.28 |
| PHP | >= 7.1.0, <= 7.1.14 | No fix listed |
| PHP | >= 7.2.0, <= 7.2.2 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 17.10 | No fix listed |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| alpine/php5(Alpine:v3.4) | < 5.6.34-r0 | 5.6.34-r0 |
| alpine/php5(Alpine:v3.5) | < 5.6.34-r0 | 5.6.34-r0 |
| alpine/php5(Alpine:v3.6) | < 5.6.34-r0 | 5.6.34-r0 |
| alpine/php5(Alpine:v3.7) | < 5.6.34-r0 | 5.6.34-r0 |
| alpine/php5(Alpine:v3.8) | < 5.6.34-r0 | 5.6.34-r0 |
| alpine/php7(Alpine:v3.5) | < 7.0.28-r0 | 7.0.28-r0 |
| alpine/php7(Alpine:v3.6) | < 7.1.15-r0 | 7.1.15-r0 |
| alpine/php7(Alpine:v3.7) | < 7.1.15-r0 | 7.1.15-r0 |
References
- php.net release-notes
- 103204 third-party-advisory vdb-entry
- 1041607 third-party-advisory vdb-entry
- RHSA-2019:2519 vendor-advisory
- bugs.php.net issue-tracking
- github.com patch
- [debian-lts-announce] 20180329 [SECURITY] [DLA 1326-1] php5 security update mailing-list third-party-advisory
- [debian-lts-announce] 20180626 [SECURITY] [DLA 1397-1] php5 security update mailing-list third-party-advisory
- USN-3600-1 third-party-advisory vendor-advisory
- USN-3600-2 third-party-advisory vendor-advisory
- DSA-4240 third-party-advisory vendor-advisory
- 44846 exploit third-party-advisory vdb-entry
- www.tenable.com third-party-advisory
- www.tenable.com third-party-advisory
- security.alpinelinux.org vendor-advisory