id: sensitive-storage-data-expose

info:
  name: Sensitive Storage Data - Detect
  author: pussycat0x
  severity: medium
  description: A generic search for 'storage' in sensitive key files, file names, logs, etc., returned a match.
  reference:
    - https://www.exploit-db.com/ghdb/6304
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 6
  tags: expose,listing,config,logs,storage,edb,files,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/storage/"
      - "{{BaseURL}}/api_smartapp/storage/"
      - "{{BaseURL}}/equipbid/storage/"
      - "{{BaseURL}}/server/storage/"
      - "{{BaseURL}}/intikal/storage/"
      - "{{BaseURL}}/elocker_old/storage/"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of"
          - "oauth-private.key"
          - "oauth-private.key"
        condition: and

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