Description
Trudesk through 1.2.11 contains a path traversal vulnerability that allows administrators to delete arbitrary files by supplying encoded traversal sequences to DELETE /api/v1/backup/:backup. Attackers can also pass unvalidated file values to POST /api/v1/backup/restore to restore archives from, or extract to, paths outside the intended directories.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| polonel | trudesk | ≤ 1.2.11 | — |
References
- https://hackmd.io/@leediay/multiple-vuln-trudesk-1211 third-party-advisory
- https://github.com/polonel/trudesk/blob/v1.2.11/src/controllers/backuprestore.js#L108-L118 technical-description
- https://github.com/polonel/trudesk/blob/v1.2.11/src/backup/restore.js#L69-L71 technical-description
- https://github.com/polonel/trudesk product
- VulnCheck Advisory: Trudesk through 1.2.11 Path Traversal via Backup Delete and Restore API third-party-advisory