id: onlyoffice-installer

info:
  name: OnlyOffice Wizard Page - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Detects exposed OnlyOffice Setup page.
  reference:
    - https://www.onlyoffice.com/
  classification:
    cpe: cpe:2.3:a:onlyoffice:onlyoffice:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: onlyoffice
    product: onlyoffice
    shodan-query: html:"Portal Setup"
  tags: misconfig,install,exposure,onlyoffice

http:
  - method: GET
    path:
      - "{{BaseURL}}/Wizard.aspx"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Portal Setup"
          - "onlyoffice"
        condition: and

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