Merge pull request #1193 from melbadry9/patch-1

Create cache-poisoning.yaml
patch-1
PD-Team 2021-04-02 21:41:51 +05:30 committed by GitHub
commit 01ac04dc2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
id: cache-poisoning
info:
name: Cache Poisoning
author: melbadry9 & xelkomy
severity: info
reference: |
- https://blog.melbadry9.xyz/fuzzing/nuclei-cache-poisoning
- https://portswigger.net/research/practical-web-cache-poisoning
tags: cache
requests:
- raw:
- |
GET /?mel=9 HTTP/1.1
X-Forwarded-Prefix: cache.example.com
X-Forwarded-Host: cache.example.com
X-Forwarded-For: cache.example.com
- |
GET /?mel=9 HTTP/1.1
req-condition: true
matchers:
- type: dsl
dsl:
- 'contains(body_2, "cache.example.com")'