2020-11-28 14:47:37 +00:00
|
|
|
id: htpasswd
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect exposed .htpasswd files
|
|
|
|
author: geeknik
|
|
|
|
severity: info
|
2021-04-06 06:46:11 +00:00
|
|
|
tags: config,exposure
|
2021-03-29 18:27:05 +00:00
|
|
|
|
2020-11-28 14:47:37 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.htpasswd"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- ":{SHA}"
|
|
|
|
- ":$apr1$"
|
|
|
|
- ":$2y$"
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|