Description (CNA)
HFS2 version 2.4.0 and earlier contains a template injection vulnerability in the multipart upload handler that allows unauthenticated attackers to achieve remote code execution by embedding malicious template syntax in a filename. Attackers can craft a filename containing a closing template quoting sequence followed by an exec macro, which bypasses the authorization check in the dispatcher to execute arbitrary commands on the underlying host system.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| rejetto / hfs2 | affected 2.0.0 through 2.4.0 |
CWE
CWE-1336
References
- https://github.com/wgetnz/hfs2/blob/master/advisories/hfs2-upload-filename-template-injection/README.md
- https://www.vulncheck.com/advisories/hfs2-rce-via-multipart-upload-filename-template-injection
ADP enrichment
No English description supplied.