Integer underflow / arbitrary null write in fread/gzread
该报告还没有中文解读。
原文摘录
摘自原文(1340 字符中的一小部分)
Integer underflow in the fread/gzread length parameter allows to write an arbitrary null byte on 64 bit platforms. This was identified with the help of ASAN and a custom fuzzer.
原文中的代码
(gdb) run gzread2.php
Starting program: /home/operac/php/php-56/sapi/cli/php gzread2.php
Program received signal SIGSEGV, Segmentation fault.
0x0000000000727b66 in zif_fread (ht=2, return_value=0x7ffff7fd7d00, return_value_ptr=0x7ffff7fa21c8, this_ptr=0x0, return_value_used=0)
at …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @fms · 版权归作者与 Internet Bug Bounty 所有