39 lines
943 B
YAML
39 lines
943 B
YAML
id: aws-object-listing
|
|
|
|
info:
|
|
name: AWS bucket with Object listing
|
|
author: pdteam
|
|
severity: low
|
|
description: Object listing is enabled in AWS bucket.
|
|
reference:
|
|
- https://mikey96.medium.com/cloud-based-storage-misconfigurations-critical-bounties-361647f78a29
|
|
metadata:
|
|
max-request: 1
|
|
tags: aws,misconfig,bucket
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
max-size: 1000
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<ListBucketResult xmlns='
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- application/xml
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- '<Name>([a-z0-9-._]+)'
|
|
# digest: 4a0a004730450221008d3e2a3f2b51e293c931760a955f03b3fefa01df69177a3d7403db90accb33b402201a4fcc8481d353ec5ac6f5fdb08d85360d3facda2b3623b16e95f5ac517859a3:922c64590222798bb761d5b6d8e72950 |