CVE-2008-6954: Cobbler Cobbler Web Interface Kickstart Template Vulnerability
HIGHCVE-2008-6954 is a HIGH cobbler web interface kickstart template vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Cobbler libraries in the PyPI ecosystem. The issue involves cobbler web interface kickstart template remote privilege escalation vulnerability. Remediation is available by upgrading affected packages to version 1.2.9.
CVE-2008-6954 at a Glance
How to Fix CVE-2008-6954
To remediate this vulnerability, upgrade all affected Cobbler 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 cobbler>=1.2.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show cobbler
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2008-6954, inspect your installed packages using pip:
pip show cobbler
Analyze the terminal output to locate any version of Cobbler in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.9), your application is affected.
Note: The pip show cobbler command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Cobbler, 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-2008-6954 Affected Cobbler Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cobbler
|
PyPI |
< 1.2.9
|
1.2.9
|
References
Frequently Asked Questions
What is CVE-2008-6954?
Which Cobbler versions are affected?
What version fixes CVE-2008-6954?
Is cobbler affected?
What CWE is associated with CVE-2008-6954?
How can I check PyPI dependencies for CVE-2008-6954?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p8w2-f44p-fmcj",
"modified" : "2024-02-09T18:39:18Z",
"published" : "2022-05-17T02:10:02Z",
"aliases" : [ "CVE-2008-6954" ],
"summary" : "Cobbler Web Interface Kickstart Template Remote Privilege Escalation Vulnerability",
"details" : "The web interface (CobblerWeb) in Cobbler before 1.2.9 allows remote authenticated users to execute arbitrary Python code with the root privileges in cobblerd by editing a Cheetah kickstart template to import arbitrary Python modules.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "cobbler"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.2.9"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2008-6954"
}, {
"type" : "WEB",
"url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/46625"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cobbler/cobbler"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111227125913/http://secunia.com/advisories/32804"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20111227151912/http://secunia.com/advisories/32737"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228143518/http://www.securityfocus.com/bid/32317"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00462.html"
}, {
"type" : "WEB",
"url" : "https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00485.html"
}, {
"type" : "WEB",
"url" : "http://freshmeat.net/projects/cobbler/releases/288374"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-09T18:39:18Z",
"nvd_published_at" : "2009-08-12T10:30:00Z"
}
}