5.3
MEDIUM
CVE-2020-28042
ServiceStack JWT Signature Verification Vulnerability
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.

INFO

Published Date :

Nov. 2, 2020, 9:15 p.m.

Last Modified :

Nov. 17, 2020, 5:55 p.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2020-28042 has a 7 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2020-28042 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Servicestack servicestack
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2020-28042.

URL Resource
https://forums.servicestack.net/t/servicestack-v5-9-2-released/8850 Release Notes Vendor Advisory
https://github.com/ServiceStack/ServiceStack/commit/540d4060e877a03ae95343c1a8560a26768585ee Patch Third Party Advisory
https://www.shielder.it/advisories/servicestack-jwt-signature-verification-bypass/ Exploit Third Party Advisory
https://www.shielder.it/blog/2020/11/re-discovering-a-jwt-authentication-bypass-in-servicestack/ Exploit Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

TypeScript CSS HTML Go

Updated: 1 month, 1 week ago
3 stars 0 fork 0 watcher
Born at : June 24, 2024, 4:11 p.m. This repo has been linked 3 different CVEs too.

None

Updated: 7 months, 1 week ago
0 stars 1 fork 1 watcher
Born at : Feb. 12, 2024, 6:11 a.m. This repo has been linked 7 different CVEs too.

TechCamp 2022 - JSON Web Token 101

Updated: 1 year, 11 months ago
0 stars 0 fork 0 watcher
Born at : Sept. 7, 2022, 11:13 a.m. This repo has been linked 3 different CVEs too.

None

Python

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : May 10, 2021, 9:32 a.m. This repo has been linked 6 different CVEs too.

None

Shell Python

Updated: 3 years, 6 months ago
0 stars 0 fork 0 watcher
Born at : March 14, 2021, 5:03 p.m. This repo has been linked 6 different CVEs too.

https://github.com/ticarpi/jwt_tool

Python Dockerfile

Updated: 5 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : Dec. 2, 2019, 9:17 p.m. This repo has been linked 6 different CVEs too.

:snake: A toolkit for testing, tweaking and cracking JSON Web Tokens

Python Dockerfile

Updated: 2 weeks ago
5264 stars 656 fork 656 watcher
Born at : Jan. 23, 2017, 9:13 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2020-28042 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2020-28042 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Nov. 17, 2020

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
    Changed Reference Type https://forums.servicestack.net/t/servicestack-v5-9-2-released/8850 No Types Assigned https://forums.servicestack.net/t/servicestack-v5-9-2-released/8850 Release Notes, Vendor Advisory
    Changed Reference Type https://github.com/ServiceStack/ServiceStack/commit/540d4060e877a03ae95343c1a8560a26768585ee No Types Assigned https://github.com/ServiceStack/ServiceStack/commit/540d4060e877a03ae95343c1a8560a26768585ee Patch, Third Party Advisory
    Changed Reference Type https://www.shielder.it/advisories/servicestack-jwt-signature-verification-bypass/ No Types Assigned https://www.shielder.it/advisories/servicestack-jwt-signature-verification-bypass/ Exploit, Third Party Advisory
    Changed Reference Type https://www.shielder.it/blog/2020/11/re-discovering-a-jwt-authentication-bypass-in-servicestack/ No Types Assigned https://www.shielder.it/blog/2020/11/re-discovering-a-jwt-authentication-bypass-in-servicestack/ Exploit, Third Party Advisory
    Added CWE NIST CWE-347
    Added CPE Configuration OR *cpe:2.3:a:servicestack:servicestack:*:*:*:*:*:*:*:* versions up to (excluding) 5.9.2
  • CVE Modified by [email protected]

    Nov. 04, 2020

    Action Type Old Value New Value
    Added Reference https://www.shielder.it/advisories/servicestack-jwt-signature-verification-bypass/ [No Types Assigned]
    Added Reference https://www.shielder.it/blog/2020/11/re-discovering-a-jwt-authentication-bypass-in-servicestack/ [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2020-28042 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2020-28042 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.26 }} 0.04%

score

0.65904

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability