This is a Burp Suite extension to test web applications for various Web Cache Deception vulnerabilities. This version has been modified to work with the Burp Suite Community Edition.
| Check | Description |
|---|---|
| Initial Path Mapping Check | Verifies that the target endpoint responds differently to authenticated vs. unauthenticated requests, and checks if appending a random path segment (e.g., /originalpath/randomXYZ) returns content similar to the original path (/originalpath), confirming a prerequisite where the backend might ignore trailing path segments. |
| Delimiter + Extension Cache Test | If the initial check passes, iterates through common delimiters (/, ;, ?) and file extensions (e.g., .js, .css, .jpg, .woff2, .pdf). For each combination (e.g., /originalpath/randomXYZ.js), checks if requesting the URL without authentication returns content similar to the authenticated request, indicating the authenticated response was cached based on the extension. |
| Path Normalization Cache Test | Checks if the cache normalizes paths differently from the backend server using cacheable targets (e.g., /robots.txt, /index.html, /assets/). Iterates through delimiters and path traversal templates (e.g., %2f%2e%2e%2f), crafting URLs like /originalpath;%2f%2e%2e%2frobots.txt and comparing authenticated vs. unauthenticated responses to detect cache normalization vulnerabilities. |
- Visit the Releases page
- Download the latest
web-cache-deception-scanner-all.jarfrom the Latest build release - In Burp Suite, go to the Extender tab
- Click Add and select the downloaded JAR file
- Check the Output tab for loading confirmation
Prerequisites:
- Java JDK 11 or higher
- Gradle (or use the included Gradle Wrapper)
Build Steps:
-
Clone the repository:
git clone https://github.com/atomiczsec/Web-Cache-Scanner.git cd Web-Cache-Scanner -
Build the extension using Gradle:
./gradlew clean build
Or on Windows:
gradlew.bat clean build
-
The built JAR file will be located at
build/libs/web-cache-deception-scanner-all.jar -
Install in Burp Suite:
- Open Burp Suite and go to the Extender tab
- Click Add and select the JAR file from
build/libs/ - Verify installation in the Output tab
Original extension by Johan Snyman. Vulnerability research by Omer Gil. Community Edition updates by atomiczsec.