Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2023-30613

Unrestricted file upload in kiwi TCMS
Back to all
CVE

CVE-2023-30613

Unrestricted file upload in kiwi TCMS

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
8.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
C
H
U
9
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-fwcf-753v-fgcj, https://nvd.nist.gov/vuln/detail/CVE-2023-30613, https://github.com/kiwitcms/Kiwi, https://huntr.com/bounties/c30d3503-600d-4d00-9571-98826a51f12c, https://huntr.dev/bounties/c30d3503-600d-4d00-9571-98826a51f12c, https://kiwitcms.org/blog/kiwi-tcms-team/2023/04/23/kiwi-tcms-122, https://pypi.org/project/kiwitcms, https://github.com/advisories/GHSA-fwcf-753v-fgcj

Severity

9

CVSS Score
0
10

Basic Information

Base CVSS
9
EPSS Probability
0.01024%
EPSS Percentile
0.60898%
Introduced Version
0,6.2.1
Fix Available
12.2

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading