2022-09-29 08:25:09 +00:00
|
|
|
id: s3cfg-config
|
|
|
|
|
|
|
|
info:
|
2022-10-05 20:35:53 +00:00
|
|
|
name: S3CFG Configuration - File Exposure
|
2022-09-29 08:25:09 +00:00
|
|
|
author: geeknik,DhiyaneshDK
|
2022-10-05 20:35:53 +00:00
|
|
|
severity: unknown
|
2022-09-29 08:25:09 +00:00
|
|
|
reference:
|
|
|
|
- https://s3tools.org/kb/item14.htm
|
|
|
|
tags: amazon,s3,exposure,config
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.s3cfg"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "access_key"
|
|
|
|
- "bucket_location"
|
|
|
|
- "secret_key"
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/plain"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|