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

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: 4a0a004730450221009c357a32cd1786d38e416400b8bb3979de63baa07c7711e49e37fe5b9ce4028f022049b9a29343a32080706f5117ee5be9734e08016f0ba7a049ad493a130c4ac5d5:922c64590222798bb761d5b6d8e72950