Description
Trudesk through 1.2.11 contains a path traversal and authorization bypass vulnerability in accountsController.uploadImage that allows authenticated users to overwrite other users' avatars via form-supplied _id and username fields. Attackers can supply a username like /../../../x to bypass the incomplete CVE-2022-1752 sanitization and write png, jpg, jpeg, or gif files outside public/uploads/users.
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/accounts.js#L454-L553 technical-description
- https://github.com/polonel/trudesk product
- VulnCheck Advisory: Trudesk through 1.2.11 Path Traversal and Authorization Bypass via Profile Image Upload third-party-advisory