37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
id: cache-poisoning-fuzz
|
|
|
|
info:
|
|
name: Cache Poison Fuzzing
|
|
author: dwisiswant0,ColbyJack1134
|
|
severity: info
|
|
reference:
|
|
- https://youst.in/posts/cache-poisoning-at-scale/
|
|
- https://portswigger.net/web-security/web-cache-poisoning
|
|
metadata:
|
|
max-request: 5834
|
|
tags: fuzzing,fuzz,cache
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /?{{md5(headers)}}=1 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
|
|
{{headers}}: {{randstr}}.tld
|
|
- |
|
|
GET /?{{md5(headers)}}=1 HTTP/1.1
|
|
Host: {{Hostname}}
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
|
|
|
|
attack: clusterbomb
|
|
payloads:
|
|
|
|
headers: helpers/wordlists/headers.txt
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body_1, "{{randstr}}")'
|
|
- 'contains(body_2, "{{randstr}}")'
|
|
condition: and
|
|
# digest: 4b0a00483046022100c2fc13b5530eded1c7fed68ba6a5a71be29acbd9004fc23ea16b60770c4b234a0221009c7349f60eb08fbe53bd2addec7c427098145811821b8ce80db5554bf811c8ee:922c64590222798bb761d5b6d8e72950 |