CVE-2024-5764
MEDIUMSonatype Nexus Repository 3.0.0-3.72.0 - Use of Hard-coded Credentials in Configuration Database Encryption
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2024-5764. PoCs published by fin3ss3g0d.
AI-analyzed exploit summary This repository contains a Python script that exploits CVE-2024-5764 by decrypting data encrypted with a static encryption key in Nexus Repository Manager 3. The script mimics the Java PasswordCipher class's key generation and decryption process.
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.
Exploits (1)
This repository contains a Python script that exploits CVE-2024-5764 by decrypting data encrypted with a static encryption key in Nexus Repository Manager 3. The script mimics the Java PasswordCipher class's key generation and decryption process.
References (1)
Scores
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N