id: alma-installer

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

http:
  - method: GET
    path:
      - '{{BaseURL}}/setup/start'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Setup wizard | Alma Installation</title>'

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

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