Bug 1613861 - (CVE-2018-10931) CVE-2018-10931 cobbler: CobblerXMLRPCInterface exports all its methods over XMLRPC
CVE-2018-10931 cobbler: CobblerXMLRPCInterface exports all its methods over X...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
urgent Severity urgent
: ---
: ---
Assigned To: Red Hat Product Security
impact=critical,public=20180809,repor...
: Security
Depends On: 1614431 1614433 1613484 1613485 1613829 1614434
Blocks: 1612108
  Show dependency treegraph
 
Reported: 2018-08-08 08:38 EDT by Cedric Buissart
Modified: 2018-08-16 00:03 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
An API-exposure flaw was found in cobbler, where it exported CobblerXMLRPCInterface private functions over XMLRPC. A remote, unauthenticated attacker could use this flaw to gain important privileges within cobbler, as well as upload files to an arbitrary location in the daemon context.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-08-14 04:24:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
fix (708 bytes, patch)
2018-08-08 16:39 EDT, Cedric Buissart
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2372 None None None 2018-08-09 11:44 EDT

  None (edit)
Description Cedric Buissart 2018-08-08 08:38:28 EDT
Cobbler CobblerXMLRPCInterface object exposes all its functions over XMLRPC. This allows an attacker to use internal the internal functions of the class, such as creating a token, or upload files.

Upstream issue:

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

Upstream patch:

https://github.com/cobbler/cobbler/pull/1921

References:

https://movermeyer.com/2018-08-02-privilege-escalation-exploits-in-cobblers-api/
Comment 4 Cedric Buissart 2018-08-08 11:23:38 EDT
Acknowledgments:

Name: Cedric Buissart (Red Hat)
Comment 6 Cedric Buissart 2018-08-08 16:39 EDT
Created attachment 1474535 [details]
fix
Comment 12 Cedric Buissart 2018-08-09 10:52:40 EDT
Created cobbler tracking bugs for this issue:

Affects: epel-all [bug 1614431]
Affects: fedora-all [bug 1614433]
Comment 15 errata-xmlrpc 2018-08-09 11:44:21 EDT
This issue has been addressed in the following products:

  Red Hat Satellite 5.6
  Red Hat Satellite 5.7
  Red Hat Satellite 5.8

Via RHSA-2018:2372 https://access.redhat.com/errata/RHSA-2018:2372
Comment 19 Summer Long 2018-08-12 21:21:03 EDT
Mitigation:

If SELinux is enabled, it might prevent some locations from accepting uploaded files from the attacker. This prevents some basic attacks allowing remote code execution, although it would not exclude all other possibilities.

Note You need to log in before you can comment on or make changes to this bug.