web-config: Web Configuration File - Detect

2026-08-18 web-config PoC Public

Description

Web configuration file was detected.

PoC

id: web-config

info:
  name: Web Configuration File - Detect
  author: Yash Anand @yashanand155,DhiyaneshDK
  severity: low
  description: Web configuration file was detected.
  reference:
    - https://github.com/imhunterand/ApachSAL/blob/main/assets/exploits.json
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 3.7
    cwe-id: CWE-200
  metadata:
    max-request: 2
  tags: config,exposure,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/web.config'
      - '{{BaseURL}}/../../web.config'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - <configuration>
          - <system.webServer>
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a00473045022039a83c50fd0d7c9c140ed123082db6d7ef6db7de00e6e0f20fcccbe315a82558022100ac4d4a99c6346461686ab421170c1671f86c2fda54595e456db5306d832c2d8b:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

Related Vulnerabilities