Skip to content

← Public intelligence

PyPI package

kiwitcms

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

10 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.1PyPIAmendedPublished

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

    CVE-2023-36809 · GHSA-jpgw-2r9m-8qfw

    Affected
    • PyPI kiwitcms < 12.5
    Fixed in
    12.5· Vendor fix available
    Issue
    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 treeviewhtml() function References Disclosed by M Nadeem Qazi and Mahshooq Zubair.

    Recommended action: Upgrade to 12.5 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. High, CVSS 8.1PyPIAmendedPublished

    kiwitcms vulnerable to stored cross-site scripting via unrestricted file upload

    CVE-2023-33977 · GHSA-2fqm-m4r2-fh98

    Affected
    • PyPI kiwitcms <= 12.3
    Fixed in
    12.4· Vendor fix available
    Issue
    Impact Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. Earlier versions of Kiwi TCMS had introduced upload validators in order to prevent potentially dangerous files from being uploaded and Content-Security-Policy definition to prevent cross-site-scripting attacks. The upload validation checks were not 100% robust which left the possibility to circumvent them and upload a potentially dangerous file which allows execution of arbitrary JavaScript in the browser. Additionally we've discovered that Nginx's proxypass directive will strip some headers negating protections built into Kiwi TCMS when served behind a reverse proxy. Patches - Improved file upload validation code - Updated Nginx reverse proxy configuration for .tenant.kiwitcms.org Workarounds If serving Kiwi TCMS behind a reverse proxy make sure that additional header values are still passed to the client browser. If they aren't redefine them inside the proxy configuration. See etc/nginx.conf#L66-L68…

    Recommended action: Upgrade to 12.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. Medium, CVSS 5.4PyPIAmendedPublished

    kiwitcms vulnerable to stored XSS via unrestricted files upload

    CVE-2023-32686 · GHSA-x7c2-7wvg-jpx7

    Affected
    • PyPI kiwitcms < 12.3
    Fixed in
    12.3· Vendor fix available
    Issue
    Impact Kiwi TCMS allows users to upload attachments to test plans, test cases, etc. Earlier versions of Kiwi TCMS had introduced upload validators in order to prevent potentially dangerous files from being uploaded, see GHSA-fwcf-753v-fgcj and Content-Security-Policy definition to prevent cross-site-scripting attacks, see GHSA-2wcr-87wf-cf9j. The upload validation checks were not robust enough which left the possibility of an attacker to circumvent them and upload a potentially dangerous file. Exploting this flaw a combination of files could be uploaded so that they work together to circumvent the existing Content-Security-Policy and allow execution of arbitrary JavaScript in the browser. Patches - File upload validation code has been improved - Kiwi TCMS will now force Content-Type: text/plain when serving uploaded files Workarounds 1) Force the Content-Type header via a custom Django middleware, see ExtraHeadersMiddleware in…

    Recommended action: Upgrade to 12.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  4. High, CVSS 7.7PyPIAmendedPublished

    Unrestricted file upload in kiwi TCMS

    CVE-2023-30613 · GHSA-fwcf-753v-fgcj

    Affected
    • PyPI kiwitcms < 12.2
    Fixed in
    12.2· Vendor fix available
    Issue
    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…

    Recommended action: Upgrade to 12.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  5. High, CVSS 8.8PyPIPublished

    PYSEC-2023-273

    CVE-2023-30628 · GHSA-cw6r-6ccx-5hwx

    Affected
    • PyPI kiwitcms < 12.3
    Fixed in
    12.3· Vendor fix available
    Issue
    Kiwi TCMS is an open source test management system. In kiwitcms/Kiwi v12.2 and prior and kiwitcms/enterprise v12.2 and prior, the `changelog.yml` workflow is vulnerable to command injection attacks because of using an untrusted `github.head_ref` field. The `github.head_ref` value is an attacker-controlled value. Assigning the value to `zzz";echo${IFS}"hello";#` can lead to command injection. Since the permission is not restricted, the attacker has a write-access to the repository. Commit 834c86dfd1b2492ccad7ebbfd6304bfec895fed2 of the kiwitcms/Kiwi repository and commit e39f7e156fdaf6fec09a15ea6f4e8fec8cdbf751 of the kiwitcms/enterprise repository contain a fix for this issue.

    Recommended action: Upgrade to 12.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.devSource checked Evidence →
  6. UnratedPyPIAmendedPublished

    kiwi TCMS has possibility for user to update email address to unverified one

    CVE-2023-30544 · GHSA-7x6q-3v3m-cwjg

    Affected
    • PyPI kiwitcms < 12.2
    Fixed in
    12.2· Vendor fix available
    Issue
    Impact In previous versions of Kiwi TCMS users were able to update their email addresses via the "My profile" admin page. This page allowed them to change the email address registered with their account without the ownership verification performed during account registration. Patches With Kiwi TCMS v12.2 or later it is not possible to edit the email field associated with a user account! Workarounds No workaround exists. References Disclosed by @novemberdad.

    Recommended action: Upgrade to 12.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  7. High, CVSS 7.6PyPIAmendedPublished

    Kiwi TCMS Stored Cross-site Scripting via SVG file

    CVE-2023-27489 · GHSA-2wcr-87wf-cf9j

    Affected
    • PyPI kiwitcms < 12.1
    Fixed in
    12.1· Vendor fix available
    Issue
    Impact Kiwi TCMS accepts SVG files uploaded by users which could potentially contain JavaScript code. If SVG images are viewed directly, i.e. not rendered in an HTML page, this JavaScript code could execute. Patches This vulnerability has been fixed by configuring Kiwi TCMS to serve with the Content-Security-Policy HTTP header which blocks inline JavaScript in all modern browsers. Workarounds Configure Content-Security-Policy header, see commit 6617cee0. References You can visit https://digi.ninja/blog/svgxss.php for more technical details. Independently disclosed by Antonio Spataro and @1d8.

    Recommended action: Upgrade to 12.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. High, CVSS 7.5PyPIAmendedPublished

    No protection against brute-force attacks on login page

    CVE-2023-25156 · GHSA-7968-h4m4-ghm9

    Affected
    • PyPI kiwitcms < 12.0
    Fixed in
    12.0· Vendor fix available
    Issue
    Impact Previous versions of Kiwi TCMS do not impose rate limits which makes it easier to attempt brute-force attacks against the login page. Patches Users should upgrade to v12.0 or later. Workarounds Users may install and configure a rate-limiting proxy in front of Kiwi TCMS. For example nginx. References Disclosed by spyata

    Recommended action: Upgrade to 12.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. High, CVSS 7.5PyPIAmendedPublished

    Denial of service vulnerability on Password reset page

    CVE-2023-25171 · GHSA-7j9h-3jxf-3vrf

    Affected
    • PyPI kiwitcms < 12.0
    Fixed in
    12.0· Vendor fix available
    Issue
    Impact Previous versions of Kiwi TCMS do not impose rate limits which makes it easier to attempt denial-of-service attacks against the Password reset page. An attacker could potentially send a large number of emails if they know the email addresses of users in Kiwi TCMS. Additionally that may strain SMTP resources. Patches Users should upgrade to v12.0 or later. Workarounds Users may install and configure a rate-limiting proxy in front of Kiwi TCMS such as Nginx and/or configure rate limits on their email server when possible. References Disclosed by Ahmed Rabeaa Mosaa

    Recommended action: Upgrade to 12.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. Medium, CVSS 5.4PyPIAmendedPublished

    Cross-site Scripting in kiwitcms

    CVE-2022-4105 · GHSA-hf94-8mx5-2vvj

    Affected
    • PyPI kiwitcms < 11.6
    Fixed in
    11.6· Vendor fix available
    Issue
    A stored XSS in a kiwi Test Plan can run malicious javascript which could be chained with an HTML injection to perform a UI redressing attack (clickjacking) and an HTML injection which disables the use of the history page.

    Recommended action: Upgrade to 11.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →