36 lines
665 B
YAML
36 lines
665 B
YAML
id: s3cfg-config
|
|
|
|
info:
|
|
name: S3CFG Configuration - Detect
|
|
author: geeknik,DhiyaneshDK
|
|
severity: unknown
|
|
description: S3CFG configuration file was detected.
|
|
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
|
|
|
|
# Enhanced by md on 2023/02/23
|