id: wamp-server-configuration

info:
  name: default-wamp-server-page
  author: pussycat0x
  severity: medium
  description: Wamp default page will expose sensitive configuration and vhosts.
  reference:
    - https://www.exploit-db.com/ghdb/6891.
  metadata:
    max-request: 1
  tags: wamp,exposure,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'contains(tolower(body), "wampserver")'

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