SSRF in rompager-check
该报告还没有中文解读。
原文摘录
摘自原文(1101 字符中的一小部分)
The script `rompager.php` does not restrict which hosts can be requested. Thereby, an attacker can send HTTP requests to localhost and other servers of the same local network segment, on port 80 and 7547.
原文中的代码
<?php
// [...]
function checkHost($ip, $port) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://".$ip);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, 1);
curl_setopt($ch, CURLOPT_HEADER, TRUE);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Hanno's projects 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @bb9866f3f743d6bf69b6836 · 版权归作者与 Hanno's projects 所有