POJIA破甲
地图 / memory corruption while parsing HTTP response

memory corruption while parsing HTTP response

内存破坏 / Array Index Underflow / #320222

厂商
Internet Bug Bounty
严重程度
低危
赏金
$500
弱点
Array Index Underflow
研究员
@xixabangm4
披露日期
2019-10-14
资产
PHP
CVE
CVE-2018-7584

该报告还没有中文解读。

原文摘录

摘自原文(5499 字符中的一小部分)
In the network interfacing PHP API file_get_contents(), a mechanism is implemented to parse the HTTP/S response from the remote host. A vulnerability is found when the vulnerable PHP build processes certain malformed HTTP/S response packets, resulting an array negative indexing.
原文中的代码
php_stream_url_wrap_http_ex /home/weilei/php-7.2.2/ext/standard/http_fopen_wrapper.c:723

			if (tmp_line[tmp_line_len - 1] == '\n') {
				--tmp_line_len;
				if (tmp_line[tmp_line_len - 1] == '\r') {
					--tmp_line_len;
				}

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @xixabangm4 · 版权归作者与 Internet Bug Bounty 所有

同类报告

Unchecked weapon id in WeaponList message parser on client leads to RCEValve · 2019-09-17 · $3,000Subdomain Takeover Via Insecure CloudFront Distribution cdn.grab.comGrab · 2021-02-24 · $1,000V1Plugin.Decrypt panics on empty ciphertext (Remote DoS)AWS VDP · 2026-05-28Signedness issue in ClassInfo message handler leads to RCE on CS:GO clientValve · 2021-05-27 · $7,500HackerOnecurl · 2025-11-03V2Plugin.Decrypt panics on empty ciphertext (Remote DoS)AWS VDP · 2026-05-28
memory corruption while parsing HTTP response · 破甲 POJIA