tampered-payload
A tampered payload
A correctly signed token whose contents were changed afterwards. The signature no longer matches the claims, which is what signing exists to catch. CWE-345.
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.
Signed correctly, then the contents were changed afterwards. The signature is real but no longer matches what the token says, which is exactly what signing is meant to catch.
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-345
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.