Bug 1612103 (CVE-2018-1000226)

Summary: CVE-2018-1000226 cobbler: XMLRPC API endpoints are not correctly validating security tokens
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abergmann, athmanem, bkearney, ggainey, jimi, klaas, kwizart, meissner, orion, scott, tkasparek, tlestach, vanmeeuwen+fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
It was found that the cobbler API did not validate the client's token for all methods. An unauthenticated attacker could use this flaw to call sensitive methods without having to authenticate first.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-08 13:28:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1613292, 1613293, 1613294    
Bug Blocks: 1612108    

Description Pedro Sampaio 2018-08-03 13:30:26 UTC
It was found that in cobbler's XMLRPC API there are many places where the user supplied security token is not being correctly validated, effectively resulting in authentication being bypassed.

Upstream issue:

https://github.com/cobbler/cobbler/issues/1916

References:

https://movermeyer.com/2018-08-02-privilege-escalation-exploits-in-cobblers-api/

Comment 1 Cedric Buissart 2018-08-07 11:27:33 UTC
Created cobbler tracking bugs for this issue:

Affects: epel-all [bug 1613293]
Affects: fedora-all [bug 1613292]

Comment 6 Cedric Buissart 2018-08-08 13:28:34 UTC
Statement:

The most sensitive function not requiring a valid token is modify_settings(), which is not part of cobbler-2.0.7, the versions shipped Red Hat Enterprise Satellite 5. As such, the flaw is considered with a Medium severity rating on cobbler versions as shipped in Red Hat Enterprise Satellite 5. A future update may address this issue.