id: s3-torrent

info:
  name: Amazon S3 Torrent Download - Detect
  author: ambassify
  severity: info
  description: Amazon S3 Torrent download was detected, which can allow a malicious user to download files.
  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: misconfig,aws,s3,bucket

http:
  - method: GET
    path:
      - "{{BaseURL}}/?torrent"

    matchers:
      - type: word
        part: body
        words:
          - 'RequestTorrentOfBucketError'
          - 's3-tracker'
        condition: or
# digest: 490a0046304402203b22348ac2398c598a357ee85356333342525aaa8678f856886981deea33136102206698bc69a6df54d38191c586e7b1be2c71eac8706940b8bc4c521f436c574d98:922c64590222798bb761d5b6d8e72950