CVE-2018-7584
CRITICALPHP < 5.6.33, 7.0.x < 7.0.28, 7.1.x <= 7.1.14, 7.2.x <= 7.2.2 - Stack-Based Buffer Under-Read in HTTP Response Parsing
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2018-7584. PoCs published by Wei Lei and Liu Yang.
AI-analyzed exploit summary This exploit demonstrates a memory corruption vulnerability in PHP 7.2.2's HTTP response parsing logic, where a malformed HTTP response can trigger a stack-buffer-overflow due to incorrect handling of newline characters. The PoC includes a test script and server setup to reproduce the crash under AddressSanitizer (ASAN).
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.
Exploits (1)
This exploit demonstrates a memory corruption vulnerability in PHP 7.2.2's HTTP response parsing logic, where a malformed HTTP response can trigger a stack-buffer-overflow due to incorrect handling of newline characters. The PoC includes a test script and server setup to reproduce the crash under AddressSanitizer (ASAN).
References (14)
Scores
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H