id: trace-axd-expose

info:
  name: ASP.NET Trace.AXD - Exposure
  author: dhiyaneshDK
  severity: low
  description: ASP.NET Trace.AXD information was exposed.
  reference:
    - https://www.rapid7.com/db/vulnerabilities/spider-asp-dot-net-trace-axd/
  metadata:
    max-request: 1
  tags: logs,asp,exposure,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/Trace.axd"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<td><h1>Application Trace</h1></td>'
          - '<title>Trace Error</title>'
        condition: or

      - type: word
        words:
          - 'The current trace settings prevent trace.axd from being viewed'
        negative: true

      - type: status
        status:
          - 200
          - 403
# digest: 490a0046304402203029fd1e2f21aa5afe1c63fc8bb65182545abe6f7ba79b26b90185a64b01288002200e47af776000f2f03d1f1ac1e05ae6e16849c7f388c92798b4dbf0d10c73ecba:922c64590222798bb761d5b6d8e72950