Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-jpgw-2r9m-8qfw

Опубликовано: 05 июл. 2023
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox

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.

Пакеты

Наименование

kiwitcms

pip
Затронутые версииВерсия исправления

< 12.5

12.5

EPSS

Процентиль: 68%
0.00567
Низкий

8.1 High

CVSS3

Дефекты

CWE-434
CWE-79

Связанные уязвимости

CVSS3: 8.1
nvd
больше 2 лет назад

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.

CVSS3: 8.1
fstec
больше 2 лет назад

Уязвимость системы управления тестированием Kiwi TCMS, связанная с неограниченной загрузкой файлов опасного типа, позволяющая нарушителю загружать произвольные вложения в планы тестирования и тестовые сценарии

EPSS

Процентиль: 68%
0.00567
Низкий

8.1 High

CVSS3

Дефекты

CWE-434
CWE-79