JWT Key Injection (JKU/X5U)
AdvancedThe server fetches signing keys from the URL specified in the JWT's jku header. Point it to your own key server to forge valid tokens with any claims you want.
Progress:
1
Forge a Token via JKU Injection2
Apply JKU WhitelistJWT Token Editor
Server Security Settings
JWT Structure
HEADER
{
"alg": "RS256",
"typ": "JWT",
"jku": "https://auth.corp.io/.well-known/jwks.json"
}PAYLOAD
{
"sub": "user123",
"name": "Bob Smith",
"role": "user",
"exp": 1711929600,
"iss": "auth.corp.io"
}SIGNATURE
RSASHA256(header + payload, server_private_key)