id: facturascripts-installer

info:
  name: FacturaScripts Installer Exposure
  author: DhiyaneshDk
  severity: high
  description: FacturaScripts is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:facturascripts:facturascripts:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: facturascripts
    product: facturascripts
    shodan-query: html:"FacturaScripts installer"
  tags: misconfig,facturascripts,install,exposure,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'FacturaScripts installer'
          - 'connect to the database'
        condition: and

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

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