id: ampache-update-exposure

info:
  name: Ampache Update Page Exposure
  author: ritikchaddha
  severity: low
  description: Ampache update page is exposed.
  classification:
    cpe: cpe:2.3:a:ampache:ampache:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ampache
    product: ampache
    shodan-query: http.html:"Ampache Update"
  tags: misconfig,ampache,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/update.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Ampache Update"
        case-insensitive: true

      - type: word
        part: body
        words:
          - "No Update Needed"
          - "No updates needed"
        negative: true

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