CVE-2024-5764 Nexus Repository 3 - Static hard-coded encryption passphrase used by default

Medium 5.9 Published Updated

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.

All Sonatype Nexus Repository Manager vulnerabilities

Sources

Also known as GHSA-5362-r6fh-h45f.

Is CVE-2024-5764 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free