CVE-2024-5764
Nexus Repository 3 - Static hard-coded encryption passphrase used by default
Description
Use of Hard-coded Credentials vulnerability in Sonatype Nexus Repository has been discovered in the code responsible for encrypting any secrets stored in the Nexus Repository configuration database (SMTP or HTTP proxy credentials, user tokens, tokens, among others). The affected versions relied on a static hard-coded encryption passphrase. While it was possible for an administrator to define an alternate encryption passphrase, it could only be done at first boot and not updated. This issue affects Nexus Repository: from 3.0.0 through 3.72.0.
INFO
Published Date :
Oct. 23, 2024, 3:15 p.m.
Last Modified :
Nov. 6, 2024, 4:41 p.m.
Remotely Exploit :
Yes !
Source :
103e4ec9-0a87-450b-af77-479448ddef11
Affected Products
                                            The following products are affected by CVE-2024-5764
                                            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.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | MEDIUM | 103e4ec9-0a87-450b-af77-479448ddef11 | 
Public PoC/Exploit Available at Github
                                            CVE-2024-5764 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
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-2024-5764.
                                        
| URL | Resource | 
|---|---|
| https://support.sonatype.com/hc/en-us/articles/34496708991507 | Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-5764 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-2024-5764
            weaknesses.
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).
CVE-2024-5764 exploitation script
Python
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-5764 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-5764 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.
- 
                            
Initial Analysis by [email protected]
Nov. 06, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N Changed Reference Type https://support.sonatype.com/hc/en-us/articles/34496708991507 No Types Assigned https://support.sonatype.com/hc/en-us/articles/34496708991507 Vendor Advisory Added CWE NIST CWE-798 Added CPE Configuration OR *cpe:2.3:a:sonatype:nexus:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.73.0  - 
                            
CVE Received by 103e4ec9-0a87-450b-af77-479448ddef11
Oct. 23, 2024
Action Type Old Value New Value Added Description Use of Hard-coded Credentials vulnerability in Sonatype Nexus Repository has been discovered in the code responsible for encrypting any secrets stored in the Nexus Repository configuration database (SMTP or HTTP proxy credentials, user tokens, tokens, among others). The affected versions relied on a static hard-coded encryption passphrase. While it was possible for an administrator to define an alternate encryption passphrase, it could only be done at first boot and not updated. This issue affects Nexus Repository: from 3.0.0 through 3.72.0. Added Reference Sonatype https://support.sonatype.com/hc/en-us/articles/34496708991507 [No types assigned] Added CWE Sonatype CWE-798 Added CVSS V4.0 Sonatype CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X