POJIA破甲
地图 / NULL Pointer Dereference while unserialize php object

NULL Pointer Dereference while unserialize php object

内存破坏 / 空指针解引用 / #195688

厂商
Internet Bug Bounty
严重程度
低危
赏金
—
弱点
空指针解引用
研究员
@hoangnguyen
披露日期
2019-11-12
资产
PHP
CVE
CVE-2016-10162

该报告还没有中文解读。

原文摘录

摘自原文(1812 字符中的一小部分)
Because no checking result of object_init_ex so that if user passing implement class, abstract class the result of this is FALSE and args is NULL, so that lead program crash
原文中的代码
		if (class_type->ce_flags & ZEND_ACC_INTERFACE) {
			zend_throw_error(NULL, "Cannot instantiate interface %s", ZSTR_VAL(class_type->name));
		} else if (class_type->ce_flags & ZEND_ACC_TRAIT) {
			zend_throw_error(NULL, "Cannot instantiate trait %s", ZSTR_VAL(class_type->name));
		} else { …

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

时间线

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

同类报告

Null Pointer Dereference by Crafted Response from AI ModelBrave Software · 2025-03-26Null pointer dereference in SMTP server function smtp_string_parseOpen-Xchange · — · $1,500NULL pointer dereference in node:sqlite DatabaseSync#applyChangeset() via malformed SQLite changesetNode.js · 2026-05-23wallet-rpc crash via malformed /gettransactions response (empty txs → vector::front() in check_tx_key / check_tx_proof)Monero · 2026-08-05Crash in mrb_ary_pushshopify-scripts · 2019-09-04 · $800important: Apache HTTP Server: Crash resulting in Denial of Service in mod_proxy via a malicious request (CVE-2024-38477)Internet Bug Bounty · 2024-07-13 · $4,920