Description
HTMLy CMS through 3.1.1 contains a path traversal vulnerability that allows low-privileged authenticated attackers to relocate arbitrary files by supplying directory traversal sequences in the oldfile parameter at the admin autosave endpoint. Attackers can pass unsanitized traversal sequences directly to file_exists() and rename() functions in admin.php without canonicalization or directory boundary enforcement to cause unintended relocation of any file writable by the web server process to an attacker-specified draft location.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| danpros | htmly | ≤ 3.1.1 | — |
References
- https://gist.github.com/mrgr4yhat/c4df971eafa272ac8c86c15e2829b7fe technical-description exploit
- https://www.vulncheck.com/advisories/htmly-cms-path-traversal-via-oldfile-parameter-in-autosave third-party-advisory