Skip to content

HG Configuration - Detect

ID: exposed-hg

Severity: medium

Author: daffainfo

Tags: config,exposure

HG configuration was detected.

id: exposed-hg
info:
name: HG Configuration - Detect
author: daffainfo
severity: medium
description: HG configuration was detected.
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
metadata:
max-request: 1
tags: config,exposure
http:
- method: GET
path:
- "{{BaseURL}}/.hg/hgrc"
matchers-condition: and
matchers:
- type: word
words:
- "[paths]"
- "default"
condition: and
- type: status
status:
- 200
# digest: 4a0a0047304502206e20dbb11686730a992366a86d360d1b5e0c967778aa1edb637ecbf339c81a64022100b1fceddf7e354c9452654eb2c32c260c9afc9cd962d4078ce359ab567286d4c0:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/configs/exposed-hg.yaml"

View on Github