36 lines
694 B
YAML
36 lines
694 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
|
||
|
tags: config,exposure
|
||
|
metadata:
|
||
|
max-request: 1
|
||
|
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/.aws/config"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
words:
|
||
|
- "[default]"
|
||
|
|
||
|
- type: dsl
|
||
|
dsl:
|
||
|
- "!contains(tolower(body), '<html')"
|
||
|
- "!contains(tolower(body), '<body')"
|
||
|
condition: and
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|