exposed-hg: HG Configuration - Detect

日期: 2025-08-01 | 影响软件: hg | POC: 已公开

漏洞描述

HG configuration was detected.

PoC代码[已公开]

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,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/.hg/hgrc"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "[paths]"
          - "default"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402203af5c85e57e0f6027f6529d057e797f135575f419483d0ccfd66fedaaecd58d4022049dcbefe05033a798e2de9f508de5f0684221c7dddf74b7f3b42f9bfdc91e8b7:922c64590222798bb761d5b6d8e72950

相关漏洞推荐