web-auth-jwt
Attack JWT/session authentication. Load when auth uses a JWT (three base64url parts, header.payload.signature), Authorization: Bearer, or you see alg/kid/jku fields. Signals: eyJ... tokens, "alg":"none"/"HS256"/"RS256", kid header, JWKS endpoints, role/admin claims.
v2026.10.14-ee0e0c55 instalaciones+5 en 7 días27 EstrellasMITsincronizado hace 22 horas
Instalar
¿Aún no tienes la CLI de NotHoly? Instálala primero.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install noorqureshi/web-auth-jwtEscribe en ~/.notholy/skills después de comprobar la firma y el SHA-256.
FirmaFirmado, ed25519
Paquetea6b85e8e…d7897095
a6b85e8e1f43…6f56d78970953 archivos · 3.9 KBEscaneoBajo1 hallazgo
- Enlaces a dominios externos
Fuentegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-auth-jwt@ee0e0c5
Esta entrada todavía no está escrita en tu idioma, así que aparece en English.
En esta página
When it applies
The app authenticates with a JSON Web Token and trusts claims inside it (user id, role,
isAdmin). The win is forging a valid-looking token the server accepts.
Why it works
JWTs are only as safe as their signature verification. Implementations routinely skip it,
confuse algorithms, or trust attacker-controlled key hints (kid, jku, x5u). If you can
make the server accept a signature you produced, you own every claim.
Method
Payloads & full variation set:
cheatsheet.mdnext to this file — work the set, not the first line.
- Decode & read claims:
jwt_tool <token>— look forrole,admin,sub, weakexp. - alg=none: strip the signature and set header
{"alg":"none"}; some libs accept it. - Algorithm confusion RS256→HS256: if the server verifies RS256 with the public key,
re-sign HS256 using that public key as the HMAC secret — server verifies with the same key.
jwt_tool -X k -pk public.pem. - Weak HMAC secret: crack HS256 offline —
hashcat -m 16500 token.txt rockyou.txt; if it falls, mint any token. - kid / jku / x5u abuse:
kidpath traversal or SQLi to control the key file;jku/x5upointing at your JWKS so the server fetches your public key and you sign with your private key.
Gotchas
- Editing claims without re-signing fails unless verification is broken — confirm the vuln class first.
exp/nbfmay be enforced even when signature isn't — keep timestamps valid.- Public key sourcing: grab it from
/.well-known/jwks.json, a cert, or TLS if not published.
Verify success
Server accepts a token you forged with elevated claims (e.g. admin panel loads, or an
authenticated endpoint returns another user's data with your minted sub).
References
PortSwigger JWT labs; jwt_tool wiki; Auth0 "Critical vulnerabilities in JWT libraries".
Archivos de esta versión
- cheatsheet.md2.7 KB
- detection.md2.8 KB
- SKILL.md2.4 KB
Permisos
| Permiso | Declarado | Hallado en el escaneo |
|---|---|---|
| Lee archivos | No | No |
| Escribe archivos | No | No |
| Ejecuta comandos de shell | No | No |
| Usa la red | Sí | Sí |
| Usa conectores | No | No |
| Controla un navegador | No | No |
Hallazgos del escaneo
Revisado el 13 nov 2026
- InfoEnlace · Enlaces a dominios externos
Un escaneo limpio baja el riesgo, pero no prueba que el paquete sea seguro. Lee lo que instalas.
| Versión | Publicada | Commit | SHA-256 | Firma | Cambio de permisos |
|---|---|---|---|---|---|
| v2026.10.14-ee0e0c5 | 13 nov 2026 | ee0e0c5 | a6b85e8e | Firmada | – |
Más de NoorQureshi
Todo de este publicadorMás en Web y bug bounty
Ver la categoría- src-hunterzhaoxuya520/src-hunter5
- owasp-top10-analysissecurityskills/owasp-top10-analysis5
- testing-for-xml-injection-vulnerabilitiesmukul975/testing-for-xml-injection-vulnerabilities5
- offensive-xsssnailsploit/offensive-xss5
- offensive-rcesnailsploit/offensive-rce5
- source-review-techniqueaeondave/source-review-technique5
Pregunta todo lo que tu alcance permite.
Crea la cuenta, añade créditos y haz la primera pregunta en el chat o en la terminal.
- 1/3
Crea la cuenta
Individual o empresa. Puedes pasar a empresa después sin perder saldo ni claves.
IndividualEmpresa - 2/3
Añade créditos
Con tarjeta. Pagas por token, sin suscripción.
$5.00recarga mínima - 3/3
Pregunta
En el chat, o instala el CLI y ejecuta notholy login en tu terminal.
$ notholy login