id: tomcat-snoop-servlet-exposed

info:
  name: Apache Tomcat - Snoop Servlet Information Disclosure
  author: Thabisocn
  severity: info
  description: |
    The Snoop servlet is exposed in the Apache Tomcat examples directory.
  reference:
    - https://vulners.com/nessus/TOMCAT_SNOOP.NASL
    - https://nvd.nist.gov/vuln/detail/CVE-2000-0760
  classification:
    epss-score: 0.68493
    epss-percentile: 0.98547
  metadata:
    max-request: 1
    verified: true
    google-query: site:*/examples/jsp/snp/snoop.jsp
    vendor: apache
    product: tomcat
  tags: apache,jakarta,tomcat,exposure,info-leak,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/examples/jsp/snp/snoop.jsp"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Request Information"
          - "Path info"
          - "Server name"
          - "Remote address"
        condition: and

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