id: aws-object-listing
info:
name: AWS bucket with Object listing
author: pdteam
severity: low
reference: https://mikey96.medium.com/cloud-based-storage-misconfigurations-critical-bounties-361647f78a29
tags: aws,misconfig,bucket
requests:
- method: GET
path:
- "{{BaseURL}}"
max-size: 1000
matchers-condition: and
matchers:
- type: word
words:
- '<ListBucketResult xmlns='
part: body
- application/xml
part: header
extractors:
- type: regex
group: 1
regex:
- '<Name>([a-z0-9-._]+)'