id: owncloud-config

info:
  name: owncloud Config - Detect
  author: Mahendra Purbia (Mah3Sec_)
  severity: info
  description: owncloud configuration information was detected.
  reference:
    - https://owncloud.com/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: config,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/owncloud/config/"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Index of'
          - 'owncloud/config'
        condition: and

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