Cyber Resilience

CVE-2024-6127

CriticalPublic PoC

Published: 27 June 2024

Published
27 June 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.6611 98.5th percentile
Risk Priority 59 60% EPSS · 20% KEV · 20% CVSS

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

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

Aceresponder
inferred from references and description; NVD did not file a CPE for this CVE

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.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

References