This project demonstrates the detection of Cross-Site Request Forgery (CSRF) vulnerabilities in web applications. It includes research on CSRF protections, a Python-based crawler for identifying forms that may lack CSRF tokens, and example HTML forms showing vulnerable and protected implementations.
- Crawls web pages
- Detects HTML forms
- Checks for common CSRF token fields
- Reports potentially vulnerable forms
- Includes vulnerable and protected form examples
csrf-vulnerability-crawler
│
├── crawler.py
├── requirements.txt
├── README.md
│
├── research
│ └── csrf_research.md
│
└── demo
├── vulnerable_form.html
└── protected_form.html
pip install -r requirements.txtpython crawler.pyEnter the target URL when prompted.
- CSRF Tokens
- SameSite Cookies
- Origin Validation
- Referer Validation
- Custom Request Headers
This project is intended for educational purposes and authorized security testing only.
Jesty Jose