37 lines
699 B
YAML
37 lines
699 B
YAML
id: aws-config
|
|
|
|
info:
|
|
name: AWS Configuration - Detect
|
|
author: m4lwhere
|
|
severity: medium
|
|
description: AWS config found via /.aws/config.
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
|
|
cvss-score: 5.3
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
tags: config,exposure,aws,credential
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/.aws/config"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
regex:
|
|
- 'aws_access_key_id\s*=\s*'
|
|
- 'region\s*=\s*'
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '[default]'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|