id: phpunit

info:
  name: phpunit.xml File Disclosure
  author: pikpikcu
  severity: info
  description: Phpunit.xml was created by Romain Bourdon for the development of WampServer 3.1. Phpunit.xml is packaged with WampServer 3.1.9 and XAMPP 5.6.40.
  remediation: Ensure the approved and updated version is installed.
  reference:
    - https://www.wampserver.com/en/
  classification:
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: exposure,files,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/phpunit.xml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<phpunit"
          - "</phpunit>"
        condition: and

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