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
|
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
|
2023-02-05 17:17:35 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2023/02/05
|