CVE-2023-30613 Kiwi TCMS unrestricted file upload vulnerability

High 8.1 Published Updated

Attackers can upload malicious files like executables or scripts to Kiwi TCMS, potentially causing code execution on victim machines.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-30613?

CVE-2023-30613 is a high-severity vulnerability in kiwitcms Kiwi, published on 24 Apr 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-434

Which versions are affected by CVE-2023-30613?

3 open source packages ship an affected version, including kiwitcms. It affects 1 product.

PackageAffectedFixed in
kiwitcms PyPIAll versions12.2
kiwitcms PyPIAll versions12.2
kiwitcms PyPIAll versions12.2

Products include Kiwitcms Kiwi Tcms.

How do I fix CVE-2023-30613?

Upgrade kiwitcms to 12.2 or later.

Is CVE-2023-30613 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30613 exists.

Sources

Also known as GHSA-fwcf-753v-fgcj, PYSEC-2026-1498.

Is CVE-2023-30613 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free