Onion-Location header allows to open arbitrary URLs including chrome:
错误配置 / 违反安全设计原则(按标题归类) / #1089995
该报告还没有中文解读。
原文摘录
摘自原文(1080 字符中的一小部分)
This [PR](https://github.com/brave/brave-core/pull/6762) introduced "Open in Tor" feature that can open .onion URLs offered through `Onion-Location` response header, but `Onion-Location` header allows to open arbitrary URLs such as `javascript:` and `chrome:`. This behavior can be exploited as a …
原文中的代码
<?php
header("Onion-Location: chrome://restart/");
?>
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Brave Software 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @nishimunea · 版权归作者与 Brave Software 所有