CVE-2020-28042 Signature validation bypass in ServiceStack

Medium 5.3 Published Updated

Attackers can bypass JWT signature verification in ServiceStack, potentially gaining unauthorized access to protected resources.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-28042?

CVE-2020-28042 is a medium-severity authentication bypass vulnerability in n/a, published on 1 Nov 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ServiceStack before 5.9.2 mishandles JWT signature verification unless an application has a custom ValidateToken function that establishes a valid minimum length for a signature.

Weakness: CWE-347

Which versions are affected by CVE-2020-28042?

2 open source packages ship an affected version, including ServiceStack. It affects 1 product.

PackageAffectedFixed in
ServiceStack NuGetAll versions5.9.2
ServiceStack NuGetAll versions5.9.2

Products include Servicestack Servicestack.

How do I fix CVE-2020-28042?

Upgrade ServiceStack to 5.9.2 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2020-28042 being exploited?

There is no known exploitation of CVE-2020-28042 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-v5rv-hpxg-8x49.

Is CVE-2020-28042 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free