CVE-2023-25156: Kiwitcms Remote Code Execution Vulnerability
HIGHCVE-2023-25156 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Kiwitcms libraries in the PyPI ecosystem. The issue involves no protection against brute-force attacks on login page. Remediation is available by upgrading affected packages to version 12.0.
CVE-2023-25156 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2023-25156
To remediate this vulnerability, upgrade all affected Kiwitcms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install kiwitcms>=12.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show kiwitcms
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-25156, inspect your installed packages using pip:
pip show kiwitcms
Analyze the terminal output to locate any version of Kiwitcms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 12.0), your application is affected.
Note: The pip show kiwitcms command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Kiwitcms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-25156 Affected Kiwitcms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kiwitcms
|
PyPI |
< 12.0
|
12.0
|
References
Frequently Asked Questions
What is CVE-2023-25156?
Which Kiwitcms versions are affected?
What version fixes CVE-2023-25156?
Is kiwitcms affected?
What is the CVSS score of CVE-2023-25156?
What CWE is associated with CVE-2023-25156?
How can I check PyPI dependencies for CVE-2023-25156?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7968-h4m4-ghm9",
"modified" : "2023-02-15T18:11:23Z",
"published" : "2023-02-15T18:10:54Z",
"aliases" : [ "CVE-2023-25156" ],
"summary" : "No protection against brute-force attacks on login page",
"details" : "### Impact\nPrevious versions of Kiwi TCMS do not impose rate limits which makes it easier to attempt brute-force attacks against the login page.\n\n### Patches\nUsers should upgrade to v12.0 or later.\n\n### Workarounds\nUsers may install and configure a rate-limiting proxy in front of Kiwi TCMS. For example nginx.\n\n### References\n[Disclosed by spyata](https://huntr.dev/bounties/2b1a9be9-45e9-490b-8de0-26a492e79795/)\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "kiwitcms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "12.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/kiwitcms/Kiwi/security/advisories/GHSA-7968-h4m4-ghm9"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-25156"
}, {
"type" : "WEB",
"url" : "https://github.com/kiwitcms/Kiwi/commit/0ed213fa0ddb7a6dc77e3c3b99e8fc90ccdaf46f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/kiwitcms/Kiwi"
}, {
"type" : "WEB",
"url" : "https://huntr.dev/bounties/2b1a9be9-45e9-490b-8de0-26a492e79795"
}, {
"type" : "WEB",
"url" : "https://kiwitcms.org/blog/kiwi-tcms-team/2023/02/15/kiwi-tcms-120"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-307" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-02-15T18:10:54Z",
"nvd_published_at" : "2023-02-15T15:15:00Z"
}
}