CVE-2023-30613: Kiwi TCMS unrestricted file upload vulnerability

Published Apr 24, 2023
·
Updated

Impact Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. In earlier versions there is no control over what kinds of files can be uploaded. Thus a malicious actor may upload an .exe file or a file containing embedded JavaScript and trick others into clicking on these files causing vulnerable browsers to execute malicious code on another computer or attempting XSS attacks.

Stored XSS attacks via file uploads have been fixed in earlier versions of Kiwi TCMS, see GHSA-2wcr-87wf-cf9j. This advisory deals with prohibiting users to upload potentially compromised files in the first place.

Patches Kiwi TCMS v12.2 comes with functionality that allows administrators to configure additional upload validator functions which give them more control over what file types are accepted for upload. By default .exe are denied. Other files containing the <script> tag, regardless of their type are also denied b/c they are a path to XSS attacks.

Workarounds Upgrade to version 12.2 or later.

References Originally reported by Ahmed Rabeaa Mosaa.

Other sources

Kiwi TCMS, an open source test management system, allows users to upload attachments to test plans, test cases, etc. In versions of Kiwi TCMS prior to 12.2, there is no control over what kinds of files can be uploaded. Thus, a malicious actor may upload an .exe file or a file containing embedded JavaScript and trick others into clicking on these files, causing vulnerable browsers to execute malicious code on another computer.

Kiwi TCMS v12.2 comes with functionality that allows administrators to configure additional upload validator functions which give them more control over what file types are accepted for upload. By default .exe are denied. Other files containing the <script> tag, regardless of their type are also denied b/c they are a path to XSS attacks. There are no known workarounds aside from upgrading.

— MITRE

Affected Software

2 affected componentsFixes available
kiwitcms Kiwi TCMS<12.2
pip/kiwitcms<12.2
12.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/kiwitcms to a version that resolves this vulnerability.

    Fixed in 12.2
  2. Upgrade

    Upgrade Kiwi TCMS to a version that resolves this vulnerability.

    Fixed in 12.2

Event History

Apr 24, 2023
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·10:44 PM
Data Sourced
via GitHub·10:44 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2023-30613?

CVE-2023-30613 has been classified as a high-severity vulnerability due to its potential for allowing arbitrary file uploads.

2

How do I fix CVE-2023-30613?

To fix CVE-2023-30613, upgrade to Kiwi TCMS version 12.2 or later, which includes file type restrictions.

3

What types of files can be uploaded in Kiwi TCMS versions before 12.2 according to CVE-2023-30613?

In versions before 12.2, there are no restrictions on file types, allowing potentially harmful files like `.exe` to be uploaded.

4

Who is affected by CVE-2023-30613?

Anyone using Kiwi TCMS versions prior to 12.2 is affected by CVE-2023-30613.

5

What is the potential impact of CVE-2023-30613?

The potential impact of CVE-2023-30613 includes the risk of remote code execution and system compromise due to unvalidated file uploads.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203