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

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

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

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