CVE-2023-36809

Kiwi TCMS, an open source test management system allows users to upload attachments to test plans, test cases, etc. Versions of Kiwi TCMS prior to 12.5 had introduced changes which were meant to serve all uploaded files as plain text in order to prevent browsers from executing potentially dangerous files when such files are accessed directly. The previous Nginx configuration was incorrect allowing certain browsers like Firefox to ignore the `Content-Type: text/plain` header on some occasions thus allowing potentially dangerous scripts to be executed. Additionally, file upload validators and parts of the HTML rendering code had been found to require additional sanitation and improvements. Version 12.5 fixes this vulnerability with updated Nginx content type configuration, improved file upload validation code to prevent more potentially dangerous uploads, and Sanitization of test plan names used in the `tree_view_html()` function.
Configurations

Configuration 1 (hide)

cpe:2.3:a:kiwitcms:kiwi_tcms:*:*:*:*:*:*:*:*

History

12 Jul 2023, 17:38

Type Values Removed Values Added
First Time Kiwitcms kiwi Tcms
Kiwitcms
CWE CWE-434
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
References (MISC) https://huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8/ - (MISC) https://huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8/ - Exploit, Issue Tracking, Third Party Advisory
References (MISC) https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-jpgw-2r9m-8qfw - (MISC) https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-jpgw-2r9m-8qfw - Vendor Advisory
References (MISC) https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223/ - (MISC) https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223/ - Exploit, Third Party Advisory
References (MISC) https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125/ - (MISC) https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125/ - Release Notes
References (MISC) https://www.github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c - (MISC) https://www.github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c - Patch
References (MISC) https://www.github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d - (MISC) https://www.github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d - Patch
CPE cpe:2.3:a:kiwitcms:kiwi_tcms:*:*:*:*:*:*:*:*

05 Jul 2023, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-07-05 22:15

Updated : 2023-12-10 15:01


NVD link : CVE-2023-36809

Mitre link : CVE-2023-36809

CVE.ORG link : CVE-2023-36809


JSON object : View

Products Affected

kiwitcms

  • kiwi_tcms
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-434

Unrestricted Upload of File with Dangerous Type