9.8critical
Dromara Lamp-Cloud Use of Hard-coded Cryptographic Key
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 0.81% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-xr8c-mq5x-5f56
Description
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| top.tangyh.basic:lamp-core (Maven) | before 3.8.1 | GitHub Advisory Database |
| top.tangyh.basic:lamp-util (Maven) | before 3.8.1 | GitHub Advisory Database |
| tangyh lamp-cloud | before 3.8.1 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
Dromara Lamp-Cloud before v3.8.1 was discovered to use a hardcoded cryptographic key when creating and verifying a Json Web Token. This vulnerability allows attackers to authenticate to the application via a crafted JWT token.
NVD (es)
Se descubrió que Dromara Lamp-Cloud anterior a v3.8.1 utiliza una clave criptográfica codificada al crear y verificar un Token Web Json. Esta vulnerabilidad permite a los atacantes autenticarse en la aplicación mediante un token JWT manipulado.
References
| https://github.com/dromara/lamp-cloud/issues/183 | issue-tracking, patch, vendor-advisory, web | |
| https://github.com/xubowenW/JWTissues/blob/main/lamp%20issue.md | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-31579 | advisory | |
| https://github.com/dromara/lamp-cloud/commit/31f79b122d85ed1b4f354673212692aa8205437a | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-31579 changed 2024-09-17 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xr8c-mq5x-5f56 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-31579 changed 2026-06-17 | Public domain |