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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| BC-SECURITY | Empire | < 6.7.1 | 6.7.1 |
References
- GitHub Issue #824 issue-tracking
- https://github.com/BC-SECURITY/Empire product
- create_download builds the destination from the client-supplied multipart filename technical-description
- fix(api): block path traversal in file upload endpoints patch
- Empire v6.7.1 Release Notes release-notes
- VulnCheck Advisory: BC Security Empire before 6.7.1 Path Traversal File Upload RCE third-party-advisory