Merge pull request #10237 from projectdiscovery/pussycat0x-patch-10
Create jwk-json-leak.yamlpatch-4
commit
19b7366b3e
|
@ -0,0 +1,40 @@
|
|||
id: jwk-json-leak
|
||||
|
||||
info:
|
||||
name: JSON Web Key File - Exposure
|
||||
author: Mohsen Yaghoubi
|
||||
severity: low
|
||||
description: |
|
||||
Searches for JSON Web Key (JWK) file.
|
||||
reference:
|
||||
- https://portswigger.net/web-security/jwt/algorithm-confusion
|
||||
metadata:
|
||||
shodan-query: html:"jwks.json"
|
||||
verified: true
|
||||
max-request: 1
|
||||
tags: exposure,token,generic
|
||||
|
||||
http:
|
||||
- method: GET
|
||||
path:
|
||||
- "{{BaseURL}}/.well-known/jwks.json"
|
||||
- "{{BaseURL}}/.well-known/jwks"
|
||||
- "{{BaseURL}}/jwks.json"
|
||||
- "{{BaseURL}}/jwks"
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: and
|
||||
matchers:
|
||||
- type: word
|
||||
part: body
|
||||
words:
|
||||
- '"kid":'
|
||||
|
||||
- type: word
|
||||
part: content_type
|
||||
words:
|
||||
- 'application/json'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue