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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
polonel trudesk
Default version status: unaffected
0 to ≤ 1.2.11affected
pkg:github/polonel/trudeskReferences
- https://hackmd.io/@leediay/multiple-vuln-trudesk-1211 ↗
- https://github.com/polonel/trudesk/blob/v1.2.11/src/controllers/accounts.js#L454-L553 ↗
- https://github.com/polonel/trudesk ↗
- https://www.vulncheck.com/advisories/trudesk-through-1.2.11-path-traversal-and-authorization-bypass-via-profile-image-upload ↗