id: dokuwiki-installer

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

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DokuWiki Installer"
          - "Superuser"
        condition: and

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

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