Bug 1613861 (CVE-2018-10931) - CVE-2018-10931 cobbler: CobblerXMLRPCInterface exports all its methods over XMLRPC
Summary: CVE-2018-10931 cobbler: CobblerXMLRPCInterface exports all its methods over X...
Status: CLOSED ERRATA
Alias: CVE-2018-10931
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=critical,public=20180809,repor...
Keywords: Security
Depends On: 1614431 1613484 1613485 1613829 1614433 1614434
Blocks: 1612108
TreeView+ depends on / blocked
 
Reported: 2018-08-08 12:38 UTC by Cedric Buissart 🐶
Modified: 2018-12-05 04:52 UTC (History)
22 users (show)

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 08:24:18 UTC
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 20:39 UTC, 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 15:44 UTC

Description Cedric Buissart 🐶 2018-08-08 12:38:28 UTC
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 15:23:38 UTC
Acknowledgments:

Name: Cedric Buissart (Red Hat)

Comment 6 Cedric Buissart 🐶 2018-08-08 20:39 UTC
Created attachment 1474535 [details]
fix

Comment 12 Cedric Buissart 🐶 2018-08-09 14:52:40 UTC
Created cobbler tracking bugs for this issue:

Affects: epel-all [bug 1614431]
Affects: fedora-all [bug 1614433]

Comment 15 errata-xmlrpc 2018-08-09 15:44:21 UTC
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-13 01:21:03 UTC
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.

Comment 23 Wade Mealing 2018-12-05 04:52:22 UTC
Oddly, i never got this needinfo.. that was WIERD.


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