Create jwk-json-leak.yaml

patch-4
pussycat0x 2024-07-09 22:23:10 +05:30 committed by GitHub
parent 150e8ddc8a
commit b35bd321f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 31 additions and 0 deletions

View File

@ -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