2021-12-25 07:56:35 +00:00
|
|
|
id: cache-poisoning-fuzz
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Cache Poison Fuzzing
|
2023-02-01 08:53:01 +00:00
|
|
|
author: dwisiswant0,ColbyJack1134
|
2021-12-25 07:56:35 +00:00
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://youst.in/posts/cache-poisoning-at-scale/
|
2022-10-02 23:35:04 +00:00
|
|
|
- https://portswigger.net/web-security/web-cache-poisoning
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 5834
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: fuzz,cache
|
2021-12-25 07:56:35 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-12-25 07:56:35 +00:00
|
|
|
- raw:
|
|
|
|
- |
|
2022-10-02 23:35:04 +00:00
|
|
|
GET /?{{md5(headers)}}=1 HTTP/1.1
|
2021-12-25 07:56:35 +00:00
|
|
|
Host: {{Hostname}}
|
2022-10-02 23:35:04 +00:00
|
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
|
2023-02-10 08:51:09 +00:00
|
|
|
{{headers}}: {{randstr}}.tld
|
2021-12-25 07:56:35 +00:00
|
|
|
- |
|
2022-10-02 23:35:04 +00:00
|
|
|
GET /?{{md5(headers)}}=1 HTTP/1.1
|
2021-12-25 07:56:35 +00:00
|
|
|
Host: {{Hostname}}
|
2022-10-02 23:35:04 +00:00
|
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
|
2021-12-25 07:56:35 +00:00
|
|
|
|
|
|
|
attack: clusterbomb
|
|
|
|
payloads:
|
|
|
|
|
2023-10-14 11:27:55 +00:00
|
|
|
headers: helpers/wordlists/headers.txt
|
2021-12-25 07:56:35 +00:00
|
|
|
stop-at-first-match: true
|
|
|
|
matchers:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-10-02 23:35:04 +00:00
|
|
|
- 'contains(body_1, "{{randstr}}")'
|
|
|
|
- 'contains(body_2, "{{randstr}}")'
|
2023-02-01 08:53:01 +00:00
|
|
|
condition: and
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022059fbf3d4d11dfb4d85e0fcb0aff33d0086e430c5a3b66cbacdd12d4f2a9ad26e022100a74a6995274757244f57bb4473b5d923e7a6a5bbb2e111fdbe6d66172c803cfb:922c64590222798bb761d5b6d8e72950
|