A fast and efficient CORS (Cross-Origin Resource Sharing) vulnerability scanner written in Rust.
- 🔍 Scans for CORS misconfigurations
- 🌐 Web crawling capability
- ⚡ Parallel request processing
- 🔒 SSL/TLS support with rustls
- 📝 Detailed verbose output mode
- ⏱️ Configurable timeout
- 📋 Support for URL lists from file
- 🎨 Colored output for better readability
- 🔗 Multiple link type detection (a, link, script, img, form)
- Clone the repository:
git clone https://github.com/MorphyKutay/corrssy.git
cd corrssy- Build the project:
cargo build --release- The binary will be available at
target/release/corrssy
Scan a single URL:
corrssy -u https://example.comScan URLs from a file:
corrssy -r urls.txtCrawl a website and check all found links for CORS vulnerabilities:
corrssy -c -u https://example.comCrawl with verbose output:
corrssy -c -u https://example.com -v-u, --url <URL>Target URL to scan-r, --file <file>File containing list of URLs-v, --verboseVerbose output mode-t, --timeout <sec>Timeout in seconds (default: 5)-c, --crawlCrawl mode-h, --helpShow help message
Verbose mode with custom timeout:
corrssy -u https://example.com -v -t 10Crawl mode with verbose output:
corrssy -c -u https://example.com -vScan multiple URLs from file with crawl mode:
corrssy -c -r urls.txt -v- Access-Control-Allow-Origin header
- Access-Control-Allow-Credentials header
- Access-Control-Allow-Methods header
- Wildcard (*) CORS policies
- Origin validation
The crawler can detect links from various HTML elements:
<a>tags (href attribute)<link>tags (CSS, favicon, etc.)<script>tags (JavaScript files)<img>tags (Images)<form>tags (Form actions)
Crawling URL: https://example.com
Found 5 unique links to check
Origin: https://evil.com
Access-Control-Allow-Origin found:
Value: https://evil.com
✅ Origin is properly validated.
If you encounter SSL/TLS issues:
- Try using verbose mode (
-v) to see detailed error messages - Increase the timeout value (
-t) if the site is slow to respond - Try a different URL if the site has bot protection
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
- MorphyKutay
- Thanks to all contributors
- Inspired by various CORS security tools
