Description (CNA)
Crater Invoice through 6.0.6 contains a path traversal vulnerability in the self-update API that allows authenticated company owners to write arbitrary files outside the intended extraction directory by supplying crafted ZIP archives with ../ sequences to the unzip endpoint. Attackers can exploit unsanitized ZIP entry names passed to PHP's ZipArchive::extractTo() to write arbitrary PHP files into the web-accessible public directory and achieve remote code execution on the server.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| crater-invoice-inc / crater | affected 0 through 6.0.6 |
CWE
CWE-22
References
- https://gist.github.com/sermikr0/cc58727e6a777b6ea1104e923803a0ba
- https://www.vulncheck.com/advisories/crater-invoice-path-traversal-rce-via-update-unzip-endpoint
ADP enrichment
No English description supplied.
No references supplied.