2021-04-07 12:15:12 +00:00
|
|
|
id: aws-object-listing
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: AWS bucket with Object listing
|
|
|
|
author: pdteam
|
|
|
|
severity: low
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://mikey96.medium.com/cloud-based-storage-misconfigurations-critical-bounties-361647f78a29
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: aws,misconfig,bucket
|
2021-04-07 12:15:12 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-07 12:15:12 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
2021-06-06 07:49:01 +00:00
|
|
|
max-size: 1000
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-04-07 12:15:49 +00:00
|
|
|
matchers-condition: and
|
2021-04-07 12:15:12 +00:00
|
|
|
matchers:
|
|
|
|
- type: word
|
2022-10-12 10:57:58 +00:00
|
|
|
part: body
|
2021-04-07 12:15:12 +00:00
|
|
|
words:
|
2021-06-06 07:49:01 +00:00
|
|
|
- '<ListBucketResult xmlns='
|
2021-04-07 12:15:12 +00:00
|
|
|
|
|
|
|
- type: word
|
2022-10-12 10:57:58 +00:00
|
|
|
part: header
|
2021-04-07 12:15:12 +00:00
|
|
|
words:
|
|
|
|
- application/xml
|
2021-06-06 07:49:01 +00:00
|
|
|
|
2021-06-06 01:27:44 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '<Name>([a-z0-9-._]+)'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a004630440220241734b1058c61b2680b91381de5ef764c8084dafaf90bb34937bb487c02a09a0220186a3e1705a656fc3c537017e087c1a47b0f47c15cf059ddbc012e0c2e53e1d6:922c64590222798bb761d5b6d8e72950
|