Skip to content

Add offensive-cors skill (CORS misconfiguration exploitation) - #41

Open
rudycelekli wants to merge 1 commit into
SnailSploit:mainfrom
rudycelekli:skill/offensive-cors
Open

rudycelekli wants to merge 1 commit into
SnailSploit:mainfrom
rudycelekli:skill/offensive-cors

Conversation

@rudycelekli

Copy link
Copy Markdown

Adds offensive-cors under web.

Coverage: credentialed cross-origin data theft via Access-Control-Allow-Origin reflection + Access-Control-Allow-Credentials: true; null origin abuse via sandboxed iframe/data:; the full allowlist-logic flaw taxonomy (unescaped-regex dots, prefix/suffix/substring matches, sibling-domain tricks, http:// scheme downgrade, trust-all-subdomains → subdomain-XSS pivot); probing with curl/Burp/CORScanner/Corsy; a weaponized fetch(url,{credentials:'include'}) exfiltration PoC with preflight handling; Vary: Origin cache interplay; and the defender view with correct config.

Follows the SKILL.md format with Key References to PortSwigger, OWASP, CWE-942, CWE-346. example.com/RFC5737 only. README, CHANGELOG, and claude-skills.json updated via tools/build_manifest.py.

Made with Cursor

Single-skill change against main. Origin reflection, null origin, allowlist flaws, credentialed fetch PoC, defender view. README, CHANGELOG, and claude-skills.json updated for this skill only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant