id: piwigo-installer

info:
  name: Piwigo Installation Page - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Piwigo is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:piwigo:piwigo:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: piwigo
    product: piwigo
    shodan-query: html:"Piwigo" html:"- Installation"
  tags: misconfig,exposure,install,piwigo

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

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - 'Piwigo ([0-9.]+) \- Installation'

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