id: ojs-installer

info:
  name: Open Journal Systems Installer - Exposure
  author: DhiyaneshDK
  severity: high
  description: Open Journal Systems is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:openjournalsystems:open_journal_systems:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: openjournalsystems
    product: open_journal_systems
    shodan-query: http.favicon.hash:2099342476
  tags: misconfig,ojs,install,exposure

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'OJS Installation'

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