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