Create jwk-json-leak.yaml
parent
150e8ddc8a
commit
b35bd321f9
|
@ -0,0 +1,31 @@
|
|||
id: jwk-json-leak
|
||||
|
||||
info:
|
||||
name: JSON Web Key File - leak
|
||||
author: Mohsen Yaghoubi
|
||||
severity: medium
|
||||
description: |
|
||||
Searches for JSON Web Key (JWK) file.
|
||||
reference:
|
||||
- https://portswigger.net/web-security/jwt/algorithm-confusion
|
||||
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
|
||||
name: id
|
||||
words:
|
||||
- '"kid":'
|
||||
|
||||
- type: status
|
||||
status:
|
||||
- 200
|
Loading…
Reference in New Issue