id: bagisto-installer

info:
  name: Bagisto Installer Exposure
  author: ritikchaddha
  severity: high
  description: Bagisto is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: webkul
    product: bagisto
    shodan-query: http.title:"Bagisto Installer"
  tags: misconfig,bagisto,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/installer'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Bagisto Installer'

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