nuclei-templates/http/exposures/configs/config-json.yaml

48 lines
1.1 KiB
YAML
Raw Normal View History

2022-12-05 10:13:30 +00:00
id: config-json
info:
name: Configuration File - Detect
2022-12-05 10:13:30 +00:00
author: geeknik
2022-12-09 09:13:29 +00:00
severity: medium
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:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 4
2022-12-05 10:13:30 +00:00
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
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
2023-10-14 11:27:55 +00:00
2022-12-05 10:13:30 +00:00
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
2023-10-08 07:02:32 +00:00
- type: word
part: header
words:
- "text/html"
negative: true
2022-12-05 10:13:30 +00:00
- type: status
status:
- 200
# digest: 4b0a004830460221008f823fffb82579f1df366875cdb5dbdff71072bdc5eb303dd4c66ae44aff2a88022100c5492cc9f4add1c722de527cb47608a221727d77aea871db02be484319e955dd:922c64590222798bb761d5b6d8e72950