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

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: 490a0046304402207884be1e4a8fd3f9c25764ef0610c596b1135701943ca8abf910c750de18cc0a022041736aef964a91857276a55c6060a60e930e0a2980e43e02349f4ef515330d3f:922c64590222798bb761d5b6d8e72950