id: ampache-debug

info:
  name: Ampache Debug Page
  author: ritikchaddha
  severity: info
  classification:
    cpe: cpe:2.3:a:ampache:ampache:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: ampache
    product: ampache
    shodan-query: http.title:"Ampache -- Debug Page"
  tags: misconfig,ampache,debug

http:
  - method: GET
    path:
      - '{{BaseURL}}'
      - '{{BaseURL}}/test.php?action=config'

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Ampache Debug"

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