CVE-2024-6127
Published: 27 June 2024
Summary
CVE-2024-6127 is a critical-severity Path Traversal (CWE-22) vulnerability in Aceresponder (inferred from references). Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 1.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
BC Security Empire versions prior to 5.9.3 contain a path traversal vulnerability, tracked as CVE-2024-6127, that permits remote code execution. The flaw is rooted in improper handling of file paths during agent uploads and is assigned CWE-22 and CWE-434. It carries a CVSS 3.1 score of 9.8, reflecting network-accessible, unauthenticated exploitation with full confidentiality, integrity, and availability impact.
A remote attacker can exploit the issue over HTTP by registering as a legitimate agent, completing the required cryptographic handshakes, and then submitting an upload containing a malicious path that writes attacker-controlled files to arbitrary locations on the server. Successful exploitation grants the attacker the ability to execute arbitrary code on the Empire server.
Public references, including the project changelog and independent advisories, indicate that the issue is resolved in version 5.9.3. Administrators are advised to upgrade immediately and restrict exposure of Empire listeners to trusted networks. The associated EPSS score has remained at 0.6611 since disclosure, and publicly available proof-of-concept code demonstrates straightforward unauthenticated exploitation.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-47274
Vulnerability details
BC Security Empire before 5.9.3 is vulnerable to a path traversal issue that can lead to remote code execution. A remote, unauthenticated attacker can exploit this vulnerability over HTTP by acting as a normal agent, completing all cryptographic handshakes, and…
more
then triggering an upload of payload data containing a malicious path.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Validates pathnames and filenames to prevent traversal outside intended directories.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.