signature-stripped
Signature stripping - a removed signature
A token that claims to be signed, with the signature deleted. A service treating an absent signature as nothing to check can be forged. CWE-347.
REJECT
Your service should reject this one.
Stated as the outcome to assert against, so a suite compares with this rather than hardcoding a result and getting it backwards.
The token says it is signed, but the signature has been deleted. If your app treats a missing signature as nothing to check, it can be forged by anyone.
Provenance
- Kind
- vulnerabilityA published weakness exists for this. Failing it is a known exploit path.
- Source
- built-in
- Clause
- RFC 7515 §5.2
- CVE
- none
- Weakness
- CWE-347
Test keys only. Nothing here is a statement about any particular service: the expected outcome above is what an application ought to do, not evidence that yours does.