Merge pull request #10237 from projectdiscovery/pussycat0x-patch-10

Create jwk-json-leak.yaml
patch-4
Dhiyaneshwaran 2024-07-10 11:38:12 +05:30 committed by GitHub
commit 19b7366b3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 40 additions and 0 deletions

View File

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