CVE-2022-0860: Improper Authorization in cobbler
8.2
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.69178%
CWE
Published
3/11/2022
Updated
11/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
cobbler | pip | < 3.3.2 | 3.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing account status checks after authentication. The pre-patch code in pam.py's authenticate() function only called PAM_AUTHENTICATE to verify credentials, but didn't call PAM_ACCT_MGMT to check account expiration/lock status. The commit diff shows the vulnerability was fixed by adding PAM_ACCT_MGMT call after successful authentication. The test case security_test.py demonstrates this by creating an expired user that should fail authentication but previously succeeded.