nuclei-templates/http/misconfiguration/unauthenticated-varnish-cac...

32 lines
723 B
YAML
Raw Normal View History

2021-12-05 06:32:46 +00:00
id: unauthenticated-varnish-cache-purge
2021-04-11 15:20:42 +00:00
info:
name: Varnish Unauthenticated Cache Purge
author: 0xelkomy
severity: low
2021-04-11 15:43:24 +00:00
description: As per guideline one should protect purges with ACLs from unauthorized hosts.
reference:
- https://book.varnish-software.com/4.0/chapters/Cache_Invalidation.html
- https://hackerone.com/reports/154278
tags: misconfig,cache,hackerone,varnish
metadata:
max-request: 1
2021-04-11 15:20:42 +00:00
http:
2021-04-11 15:20:42 +00:00
- method: PURGE
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<title>200 Purged</title>'
- '"status": "ok"'
condition: or
- type: status
status:
2021-12-05 06:32:46 +00:00
- 200