2022-10-25 22:59:22 +00:00
|
|
|
id: htpasswd-detection
|
2020-11-28 14:47:37 +00:00
|
|
|
|
|
|
|
info:
|
2023-02-05 21:47:20 +00:00
|
|
|
name: Apache htpasswd Config - Detect
|
2020-11-28 14:47:37 +00:00
|
|
|
author: geeknik
|
2023-03-03 15:27:54 +00:00
|
|
|
severity: high
|
2023-02-05 21:47:20 +00:00
|
|
|
description: Apache htpasswd configuration was detected.
|
2023-02-05 17:17:35 +00:00
|
|
|
reference: https://httpd.apache.org/docs/current/programs/htpasswd.html
|
|
|
|
classification:
|
2023-03-03 15:27:54 +00:00
|
|
|
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
|
2023-02-05 17:17:35 +00:00
|
|
|
cwe-id: CWE-200
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: config,exposure
|
2021-03-29 18:27:05 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-11-28 14:47:37 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.htpasswd"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- ":{SHA}"
|
|
|
|
- ":$apr1$"
|
|
|
|
- ":$2y$"
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402202fcdc45716dd4fe4a290e53d481f3c4a71a7729681443a5dc5913c98cdfd449d0220665bc7963f3c174d84917b253da5a5e001f77c0147fc9ced75e301ad43de0cb9:922c64590222798bb761d5b6d8e72950
|