Use After Free Vulnerability in array_walk()/array_walk_recursive()
该报告还没有中文解读。
原文摘录
摘自原文(636 字符中的一小部分)
I think this bugs is still security issue since this bug can be still triggered remotely in some real world&apps.
原文中的代码
array_walk($parts, function ($value, $key) use (&$parts) {
if ($value === '..') {
unset($parts[$key], $parts[$key-1]);
$parts = array_values($parts); <== ['x', 'y', '..'] will be changed into ['x'] from the memory, it is possible to lead to …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @ryat · 版权归作者与 Internet Bug Bounty 所有