PT-2023-23961 · Kiwi Tcms · Kiwi Tcms
Antonio Spataro
+1
·
Published
2023-05-22
·
Updated
2023-06-02
·
CVE-2023-32686
CVSS v3.1
8.1
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Kiwi TCMS versions prior to 12.3
Description
The issue arises from insufficient upload validation checks in Kiwi TCMS, allowing an attacker to upload potentially dangerous files. These files can be combined to circumvent the existing Content-Security-Policy, enabling the execution of arbitrary JavaScript in the browser.
Recommendations
For versions prior to 12.3, update to version 12.3 to resolve the issue.
As a temporary workaround, consider implementing a custom Django middleware, such as
ExtraHeadersMiddleware, to force the Content-Type: text/plain header when serving uploaded files.
Alternatively, force the Content-Type header via Nginx overrides, specifically for the /uploads/ location.Exploit
Fix
XSS
Unrestricted File Upload
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Kiwi Tcms