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.
tree_view_html()
functionDisclosed by M Nadeem Qazi and Mahshooq Zubair.
{ "nvd_published_at": "2023-07-05T22:15:09Z", "cwe_ids": [ "CWE-434", "CWE-79" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-07-05T22:40:59Z" }