CORS

Tools

# https://github.com/s0md3v/Corsy
python3 corsy.py -u https://example.com
# https://github.com/chenjj/CORScanner
python cors_scan.py -u example.com
# https://github.com/Shivangx01b/CorsMe
echo "https://example.com" | ./Corsme 
cat subdomains.txt | ./httprobe -c 70 -p 80,443,8080,8081,8089 | tee http_https.txt
cat http_https.txt | ./CorsMe -t 70
# CORSPoc
# https://tools.honoki.net/cors.html

URL accessed

Access permitted?

Yes: same scheme, domain, and port

Yes: same scheme, domain, and port

No: different scheme and port

In any site disclosing users & passwords (or other sensitive info), try CORS.

CORS PoC

CORS PoC 2

CORS PoC 3 - Sensitive Data Leakage

CORS JSON PoC

Last updated

Was this helpful?