CVE-2023-30613 Kiwi TCMS unrestricted file upload vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
kiwitcms PyPI | All versions | 12.2 |
kiwitcms PyPI | All versions | 12.2 |
kiwitcms PyPI | All versions | 12.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.
Other vulnerabilities in kiwitcms Kiwi
- CVE-2023-30628 Kiwi TCMS has command injection vulnerability in changelog.yml CI workflow
- CVE-2023-36809 Kiwi TCMS's misconfigured HTTP headers allow stored XSS execution with Firefox
- CVE-2023-33977 Stored cross site scripting (XSS) via unrestricted file upload in Kiwi TCMS
- CVE-2023-32686 kiwitcms vulnerable to stored XSS via unrestricted files upload
- CVE-2023-27489 Stored cross site scripting via SVG file upload in Kiwi TCMS
Sources
Also known as GHSA-fwcf-753v-fgcj, PYSEC-2026-1498.