CVE-2023-36809 Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi kiwitcms(PyPI) | < 12.5 | 12.5 |
| pypi kiwitcms(PyPI) | = 10.0 | No fix listed |
| pypi kiwitcms(PyPI) | = 10.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 10.2 | No fix listed |
| pypi kiwitcms(PyPI) | = 10.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 10.3.999 | No fix listed |
| pypi kiwitcms(PyPI) | = 10.4 | No fix listed |
| pypi kiwitcms(PyPI) | = 10.5 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.0 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.4 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.5 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.6 | No fix listed |
| pypi kiwitcms(PyPI) | = 11.7 | No fix listed |
| pypi kiwitcms(PyPI) | = 12.0 | No fix listed |
| pypi kiwitcms(PyPI) | = 12.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 12.2 | No fix listed |
| pypi kiwitcms(PyPI) | = 12.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 12.4 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.10 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.11 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.2.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.4 | No fix listed |
Show 27 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi kiwitcms(PyPI) | = 6.5 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.5.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.6 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.7 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.8 | No fix listed |
| pypi kiwitcms(PyPI) | = 6.9 | No fix listed |
| pypi kiwitcms(PyPI) | = 7.0 | No fix listed |
| pypi kiwitcms(PyPI) | = 7.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 7.2 | No fix listed |
| pypi kiwitcms(PyPI) | = 7.2.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 7.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.0 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.1.99 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.2 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.3 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.4 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.5 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.6 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.6.1 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.7 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.8 | No fix listed |
| pypi kiwitcms(PyPI) | = 8.9 | No fix listed |
| pypi kiwitcms(PyPI) | = 9.0 | No fix listed |
| pypi kiwitcms(PyPI) | = 9.999 | No fix listed |
| kiwitcms Kiwi | = < 12.5 | No fix listed |
| kiwitcms kiwi tcms | < 12.5 | 12.5 |
References
- https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-jpgw-2r9m-8qfw vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- github.com product
- https://huntr.dev/bounties/511489dd-ba38-4806-9029-b28ab2830aa8/ exploit issue-tracking third-party-advisory
- https://huntr.dev/bounties/c6eeb346-fa99-4d41-bc40-b68f8d689223/ exploit third-party-advisory
- https://kiwitcms.org/blog/kiwi-tcms-team/2023/07/04/kiwi-tcms-125/ release-notes
- https://www.github.com/kiwitcms/kiwi/commit/195ea53eaaf360c19227c864cc0fe58910032c3c patch
- https://www.github.com/kiwitcms/kiwi/commit/ffb00450be52fe11a82a2507632c2328cae4ec9d patch
- github.com vendor-advisory
- pypi.org product