7.5
HIGH
CVE-2016-5431
Gree PHP JOSE Library Key Confusion Algorithm Substitution Vulnerability
Description

The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.

INFO

Published Date :

Aug. 7, 2019, 3:15 p.m.

Last Modified :

March 3, 2023, 3:53 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-5431 has a 6 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-2016-5431 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 Php_jose_project php_jose
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-2016-5431.

URL Resource
https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b Patch

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, 2 weeks 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.

Explore and learn about JWT vulnerabilities through hands-on security labs. Perfect for cybersecurity enthusiasts, developers, and learners!

jwt cybersecurity education infosec opensource websecurity

Dockerfile JavaScript HTML CSS

Updated: 1 year, 3 months ago
0 stars 0 fork 0 watcher
Born at : June 5, 2023, 12:45 a.m. This repo has been linked 4 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

Updated: 2 years, 7 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 3, 2022, 1:26 p.m. This repo has been linked 2 different CVEs too.

None

Python

Updated: 2 years, 5 months ago
1 stars 0 fork 0 watcher
Born at : Jan. 31, 2022, 7:03 p.m. This repo has been linked 2 different CVEs too.

Powershell JWT module

PowerShell

Updated: 8 months, 4 weeks ago
12 stars 2 fork 2 watcher
Born at : Jan. 4, 2020, midnight This repo has been linked 3 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-2016-5431 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-5431 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
  • Modified Analysis by [email protected]

    Mar. 03, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b Patch, Third Party Advisory https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b Patch
    Removed CWE NIST CWE-310
    Added CWE NIST CWE-327
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CWE Red Hat, Inc. CWE-327
  • Initial Analysis by [email protected]

    Aug. 14, 2019

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b No Types Assigned https://github.com/nov/jose-php/commit/1cce55e27adf0274193eb1cd74b927a398a3df4b Patch, Third Party Advisory
    Added CWE CWE-310
    Added CPE Configuration OR *cpe:2.3:a:php_jose_project:php_jose:*:*:*:*:*:*:*:* versions up to (excluding) 2.2.1
  • CVE Modified by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed Description TThe PHP JOSE Library by Gree Inc. version <= 2.2.0 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens. The PHP JOSE Library by Gree Inc. before version 2.2.1 is vulnerable to key confusion/algorithm substitution in the JWS component resulting in bypassing the signature verification via crafted tokens.
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-2016-5431 is associated with the following CWEs:

Exploit Prediction

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

0.08 }} 0.02%

score

0.33925

percentile

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