CVE-2024-5764 Nexus Repository 3 - Static hard-coded encryption passphrase used by default
Attackers can decrypt stored secrets like SMTP credentials and tokens due to a static hard-coded encryption passphrase in Nexus Repository.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-5764?
CVE-2024-5764 is a medium-severity vulnerability in Sonatype Nexus Repository Manager, published on 23 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-798
Which versions are affected by CVE-2024-5764?
It affects 1 product.
Products include Sonatype Nexus Repository Manager.
How do I fix CVE-2024-5764?
No fix has been published for CVE-2024-5764 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-5764 being exploited?
There is no known exploitation of CVE-2024-5764 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in Sonatype Nexus Repository Manager
- CVE-2019-7238 Sonatype Nexus Repository Manager Incorrect Access Control
- CVE-2019-9629 Hardcoded credentials in n/a
- CVE-2017-17717 Hardcoded credentials in n/a
- CVE-2026-3199 Nexus Repository 3 - Authenticated Remote Code Execution via Task Property Injection
- CVE-2026-5189 Nexus Repository 3 - Hardcoded Credential in Internal Database Component
Sources
Also known as GHSA-5362-r6fh-h45f.