Integer Overflow in php_html_entities()
该报告还没有中文解读。
原文摘录
摘自原文(2730 字符中的一小部分)
This bug report at https://bugs.php.net/bug.php?id=72135, and fixed in: https://github.com/php/php-src/commit/41fc3c76e97a36ff3b505da7d704ca17bb171fdf https://github.com/php/php-src/commit/0da8b8b801f9276359262f1ef8274c7812d3dfda …
原文中的代码
static void php_html_entities(INTERNAL_FUNCTION_PARAMETERS, int all)
{
...
size_t new_len;
...
RETVAL_STRINGL(replaced, (int)new_len, 0);
}默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @ryat · 版权归作者与 Internet Bug Bounty 所有