id: mantisbt-installer

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

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Administration - Installation - MantisBT"

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

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