Trudesk through 1.2.11 Path Traversal and Authorization Bypass via Profile Image Upload
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| poloneltrudesk |
≤ 1.2.11→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory hackmd.io
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com