2021-03-02 11:32:14 +00:00
|
|
|
id: exposed-hg
|
|
|
|
|
|
|
|
info:
|
2023-02-09 20:14:54 +00:00
|
|
|
name: HG Configuration - Detect
|
2021-03-02 11:32:14 +00:00
|
|
|
author: daffainfo
|
2023-02-13 16:40:56 +00:00
|
|
|
severity: medium
|
2023-02-09 20:14:54 +00:00
|
|
|
description: HG configuration was detected.
|
2023-02-13 16:40:56 +00:00
|
|
|
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-02 11:32:14 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.hg/hgrc"
|
2021-03-02 16:07:41 +00:00
|
|
|
|
2021-03-07 07:51:23 +00:00
|
|
|
matchers-condition: and
|
2021-03-02 11:32:14 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "[paths]"
|
|
|
|
- "default"
|
|
|
|
condition: and
|
2021-03-02 16:07:41 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-03-07 07:51:23 +00:00
|
|
|
- 200
|
2023-02-09 20:14:54 +00:00
|
|
|
|
2023-02-13 16:40:56 +00:00
|
|
|
# Enhanced by cs on 2023/02/13
|