id: owncloud-installer-exposure

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

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<legend>Create an <strong>admin account</strong>"
          - "ownCloud"
        condition: and

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

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