Endpoint accepts unsigned JWT
このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、
お気軽にご連絡ください。
Description
This publicly exposed API endpoint accepts unsigned JWTs. The JWT specification allows for unsecured JWTs where the algorithm is set to “none” and no signature is provided.
When an endpoint accepts JWTs with the “none” algorithm, it means that:
- No cryptographic signature verification is performed
- The JWT payload is trusted without any authentication of its integrity
- Anyone can create a valid JWT by simply setting the algorithm to “none” and removing the signature
To fix this vulnerability, reject unsigned JWTs: Configure your JWT validation library to explicitly reject JWTs with "alg": "none"
. If that’s not possible, manually review the parsed JWT and reject it if the algorithm is none
.