id: ampache-music-installer

info:
  name: Ampache Music Installer
  author: tess
  severity: high
  description: Ampache Music is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:ampache:ampache:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ampache
    product: ampache
    shodan-query: title:"For the Love of Music - Installation"
  tags: misconfig,ampache,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/install.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Ampache :: For the Love of Music - Installation"
          - "Choose Installation Language"
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

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