CVE-2023-31579

Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token

published November 2, 2023

CVSS
—
EPSS
1%
Percentile
51.9
In the wild
Unconfirmed
What it is

⚠️ A hardcoded cryptographic key is the hidden culprit here! The Dromara Lamp-Cloud app before v3.8.1 can be easily tricked into accepting a forged JWT token, giving attackers unauthorized access. 🔑 Think of it as a hotel where every room uses the same key for entry—if someone finds that key, they can stroll into any room without a reservation! This vulnerability exposes the entire application to potential data breaches if exploited. An attacker could generate a crafted JWT token to masquerade as a legitimate user, opening the door to unauthorized actions within the app. This could lead to data theft, manipulation, or worse, compromising your entire infrastructure.

Put simply

Think of it as a hotel where every room uses the same key for entry—if someone finds that key, they can stroll into any room without a reservation! This vulnerability exposes the entire application to potential data breaches if exploited. The vulnerability lies in the hardcoded cryptographic key used for creating and verifying JSON Web Tokens in Dromara Lamp-Cloud prior to version 3.8.1. This oversight allows attackers to create their own tokens and gain improper access to the application.

What to do

An attacker could generate a crafted JWT token to masquerade as a legitimate user, opening the door to unauthorized actions within the app. This could lead to data theft, manipulation, or worse, compromising your entire infrastructure. To secure your environment, patch to Dromara Lamp-Cloud version 3.8.1 or later immediately. Additionally, review your token generation methods to ensure they use dynamic keys instead of hardcoded values to prevent similar vulnerabilities in the future. You've got this! Just follow these steps, and you'll be one step closer to securing your app. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00681 · 51.9th percentile
Published
2023-11-02T00:00Z
EPSS history
Timeline
  • 02 NOV 00:00Z
    Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token
    cvelistv5