nuclei-templates/http/exposures/files/credentials-json.yaml

33 lines
851 B
YAML
Raw Normal View History

2022-07-13 10:03:38 +00:00
id: credentials-json
info:
name: Credentials File Disclosure
author: ritikchaddha
severity: medium
2024-01-02 16:16:15 +00:00
description: Internal secret file is exposed.
2022-07-13 10:03:38 +00:00
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 2
2022-07-13 10:03:38 +00:00
google-query: intitle:"index of" "credentials.json"
2022-10-13 10:12:07 +00:00
tags: google,secret,exposure,files
2022-07-13 10:03:38 +00:00
http:
2022-07-13 10:03:38 +00:00
- method: GET
path:
- "{{BaseURL}}/credentials.json"
- "{{BaseURL}}/assets/credentials.json"
stop-at-first-match: true
2023-10-14 11:27:55 +00:00
2022-07-13 10:03:38 +00:00
matchers-condition: and
matchers:
- type: word
words:
2022-07-13 10:09:22 +00:00
- '"client_secret":'
- '"client_id":'
2022-07-13 10:03:38 +00:00
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100b14ac8d7fd6fa15b56eb3f61876c2bd451b4a342fd803252a57a3006c716c1cb02207c5d924f7dd37028439e43e4510522074811e145310931e57cf27407277875c7:922c64590222798bb761d5b6d8e72950