Miggo Logo

CVE-2011-4953: Cobbler vulnerable to code injection via unsafe YAML loading

6.8

CVSS Score

Basic Information

EPSS Score
0.71214%
Published
5/17/2022
Updated
1/15/2024
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Package NameEcosystemVulnerable VersionsFirst Patched Version
cobblerpip< 2.6.02.6.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability description explicitly identifies set_mgmt_parameters in item.py as the entry point. The commit diff confirms this function was patched by replacing yaml.load with yaml.safe_load. CWE-94 (Code Injection) directly applies here because unsafe YAML deserialization allows arbitrary object instantiation. While other functions were also patched, this is the only one explicitly tied to the documented exploit vector.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

T** `s*t_m*mt_p*r*m*t*rs` *un*tion in it*m.py in *o**l*r ***or* *.*.* *llows *ont*xt-**p*n**nt *tt**k*rs to *x**ut* *r*itr*ry *o** vi* v**tors r*l*t** to t** us* o* t** `y*ml.lo**` *un*tion inst*** o* t** `y*ml.s***_lo** *un*tion`, *s **monstr*t** us

Reasoning

T** vuln*r**ility **s*ription *xpli*itly i**nti*i*s `s*t_m*mt_p*r*m*t*rs` in it*m.py *s t** *ntry point. T** *ommit *i** *on*irms t*is *un*tion w*s p*t**** *y r*pl**in* `y*ml.lo**` wit* `y*ml.s***_lo**`. *W*-** (*o** Inj**tion) *ir**tly *ppli*s **r*