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
|
|
|
|
severity: info
|
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:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
|
|
cvss-score: 5.3
|
|
|
|
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
|