Exploit database

Vulnerability

CVE-2024-6127

BC Security Empire Path Traversal RCE

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · VulnCheck

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

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 then triggering an upload of payload data containing a malicious path.

CVE Program

Exploit source choices

1 source
PowerShellEmpire Arbitrary File Upload (Skywalker)
MSF-linux--http--empire_skywalkerMetasploitLinux,Python / remotePreferred

A vulnerability existed in the new Empire (maintained by BC Security) prior to commit e73e883 (<v5.9.3) or the original PowerShellEmpire server prior to commit f030cf62 which would allow an arbitrary file to be written to an attacker controlled location with the permissions of the Empire server. This exploit will write the payload to /tmp/ directory followed by a cron.d file to execute the payload.

2016-10-15empire_skywalker.rb