mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-16 07:33:29 +08:00
33 lines
853 B
YAML
33 lines
853 B
YAML
id: credentials-json
|
|
|
|
info:
|
|
name: Credentials File Disclosure
|
|
author: ritikchaddha
|
|
severity: medium
|
|
description: Internal secret file is exposed.
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
google-query: intitle:"index of" "credentials.json"
|
|
tags: google,secret,exposure,files
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/credentials.json"
|
|
- "{{BaseURL}}/assets/credentials.json"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- '"client_secret":'
|
|
- '"client_id":'
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a00483046022100e5719d36840673ff8e830165c8f478fa633ad46d769d5c73a96dd85184ed891e022100b97e58bce5fadd053bbbe1e81491e897f1d3b7658f0b04ce4ca36e9639d61d21:922c64590222798bb761d5b6d8e72950 |