Description
Trudesk through 1.2.11 contains an unrestricted file upload vulnerability that allows any authenticated user to place HTML or SVG files in the public webroot via the uploadlogo, uploadpagelogo and uploadfavicon endpoints. Attackers can spoof an image MIME type to upload script-bearing files served unauthenticated from /assets/, enabling stored cross-site scripting and replacement of instance branding.
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/main.js#L612-L837 ↗
- https://github.com/polonel/trudesk/blob/v1.2.11/src/routes/index.js#L293-L295 ↗
- https://github.com/polonel/trudesk ↗
- https://www.vulncheck.com/advisories/trudesk-through-1.2.11-unrestricted-file-upload-via-settings-general-uploadlogo ↗