GitHub Advisoryadvisory · PyPI

GHSA-jpgw-2r9m-8qfw Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox

HIGH Published 2023-07-05 Modified 2023-07-05 Official page ↗
Aliases
CVE-2023-36809
Ecosystem
PyPI
Packages
kiwitcms
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-434, CWE-79
Reviewed
2023-07-05

Affected packages

• PyPI kiwitcms: < 12.5 → fixed in 12.5

Description

Impact Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. Earlier versions of Kiwi TCMS 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 have been found to require additional sanitation and improvements. Patches • Updated Nginx content type configuration • Improved file upload validation code to prevent more potentially dangerous uploads • Sanitization of test plan names used in the `tree_view_html()` function References Disclosed by M Nadeem Qazi and Mahshooq Zubair.

Related

Alias · CVE (1)

  • CVE-2023-36809 Kiwi TCMS, an open source test management system allows users to upload attachments to test plans, test cases, etc. vulnerability

Weakness · CWE (2)

  • CWE-434 Unrestricted Upload of File with Dangerous Type weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References