2023-05-21 14:25:38 +00:00
|
|
|
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:
|
2023-06-14 17:19:46 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-06-14 17:19:46 +00:00
|
|
|
tags: config,exposure,aws,credential
|
2023-05-21 14:25:38 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/.aws/config"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2023-06-14 17:19:46 +00:00
|
|
|
- type: regex
|
|
|
|
regex:
|
|
|
|
- 'aws_access_key_id\s*=\s*'
|
|
|
|
- 'region\s*=\s*'
|
|
|
|
|
2023-05-21 14:25:38 +00:00
|
|
|
- type: word
|
2023-06-14 17:19:46 +00:00
|
|
|
part: body
|
2023-05-21 14:25:38 +00:00
|
|
|
words:
|
2023-06-14 17:19:46 +00:00
|
|
|
- '[default]'
|
2023-05-21 14:25:38 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4b0a00483046022100c61812e7106a48c4c2fe5ff19dafdd3e8f2afae83e907dec240f59f0c799424f022100d8c06ad80e50982ac217c217076cbbda6918e54a8131274c7008fae8d171ded4:922c64590222798bb761d5b6d8e72950
|