2022-12-05 10:13:30 +00:00
|
|
|
id: config-json
|
|
|
|
|
|
|
|
info:
|
2023-02-08 19:37:11 +00:00
|
|
|
name: Configuration File - Detect
|
2022-12-05 10:13:30 +00:00
|
|
|
author: geeknik
|
2022-12-09 09:13:29 +00:00
|
|
|
severity: medium
|
2023-02-08 19:37:11 +00:00
|
|
|
description: Multiple configuration files were detected.
|
|
|
|
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
|
2022-12-05 10:13:30 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 4
|
2022-12-05 10:13:30 +00:00
|
|
|
verified: true
|
|
|
|
github-query: filename:config.json
|
2022-12-09 09:13:29 +00:00
|
|
|
tags: config,exposure,files
|
2022-12-05 10:13:30 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-05 10:13:30 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/config/default.json"
|
|
|
|
- "{{BaseURL}}/config.json"
|
|
|
|
- "{{BaseURL}}/config/config.json"
|
|
|
|
- "{{BaseURL}}/credentials/config.json"
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '"api_keys":'
|
2022-12-09 09:13:29 +00:00
|
|
|
- '"aws":'
|
|
|
|
- '"server":'
|
2022-12-05 10:13:30 +00:00
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|