36 lines
888 B
YAML
36 lines
888 B
YAML
id: htpasswd-detection
|
|
|
|
info:
|
|
name: Apache htpasswd Config - Detect
|
|
author: geeknik
|
|
severity: high
|
|
description: Apache htpasswd configuration was detected.
|
|
reference: https://httpd.apache.org/docs/current/programs/htpasswd.html
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
tags: config,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.htpasswd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- ":{SHA}"
|
|
- ":$apr1$"
|
|
- ":$2y$"
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a0046304402202fcdc45716dd4fe4a290e53d481f3c4a71a7729681443a5dc5913c98cdfd449d0220665bc7963f3c174d84917b253da5a5e001f77c0147fc9ced75e301ad43de0cb9:922c64590222798bb761d5b6d8e72950
|