Description
BC Security Empire before 6.7.1 fails to validate the multipart filename parameter in upload endpoints, allowing authenticated operators to write files to arbitrary paths on the C2 server. Attackers can use path traversal sequences in the filename to bypass directory containment and write malicious files to sensitive locations for code execution.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
BC-SECURITY Empire
Default version status: unaffected
0 to < 6.7.1affected
References
- https://github.com/BC-SECURITY/Empire/issues/824 ↗
- https://github.com/BC-SECURITY/Empire ↗
- https://github.com/BC-SECURITY/Empire/blob/v6.6.0/empire/server/core/download_service.py#L148-L193 ↗
- https://github.com/BC-SECURITY/Empire/commit/c33a626316cb20bc8ed707e03a22d324d5d4762a ↗
- https://github.com/BC-SECURITY/Empire/releases/tag/v6.7.1 ↗
- https://www.vulncheck.com/advisories/bc-security-empire-before-6.7.1-path-traversal-file-upload-rce ↗