Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| polonel / trudesk | affected 0 through 1.2.11 |
CWE
CWE-22