Bug 1602190 (CVE-2018-10905) - CVE-2018-10905 cfme: Improper access control in dRuby allows local users to execute arbitrary commands as root
Summary: CVE-2018-10905 cfme: Improper access control in dRuby allows local users to e...
Status: CLOSED ERRATA
Alias: CVE-2018-10905
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=important,public=20180720:1954...
Keywords: Security
Depends On: 1603578 1608552
Blocks: 1602174
TreeView+ depends on / blocked
 
Reported: 2018-07-18 01:29 UTC by Sam Fowler
Modified: 2019-06-08 23:01 UTC (History)
20 users (show)

(edit)
CloudForms Management Engine has a vulnerability that allows local users to execute arbitrary commands as root. An attacker with SSH access to the system can use the dRuby (DRb) module installed on the system to execute arbitrary shell commands using `instance_eval()`.
Clone Of:
(edit)
Last Closed: 2018-09-26 00:25:03 UTC


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:2561 None None None 2018-09-04 18:00 UTC
Red Hat Product Errata RHSA-2018:2745 None None None 2018-09-26 18:36 UTC

Description Sam Fowler 2018-07-18 01:29:35 UTC
CloudForms Management Engine has a vulnerability that allows local users to execute arbitrary commands as root. An attacker with SSH access to the system can use the dRuby (DRb) module installed on the system to execute arbitrary shell commands using `instance_eval()`.

Comment 6 Richard Maciel Costa 2018-07-20 02:34:55 UTC
Mitigation:

Administrators of the CloudForms appliance can filter local packages going to the port where MIQ Server is listening, by using the following iptables command:
# iptables -I OUTPUT 1 -o lo -d localhost/32 -p tcp -m tcp --dport <MIQ Server port> -m owner '!' --uid-owner root -j DROP

Where the MIQ Server port can be found using netstat command:
# netstat -nl --tcp -p | grep -i "miq server"

Comment 11 Richard Maciel Costa 2018-07-23 21:02:32 UTC
Acknowledgments:

Name: Stephen Gappinger (American Express)

Comment 12 errata-xmlrpc 2018-09-04 18:00:24 UTC
This issue has been addressed in the following products:

  CloudForms Management Engine 5.9

Via RHSA-2018:2561 https://access.redhat.com/errata/RHSA-2018:2561

Comment 13 errata-xmlrpc 2018-09-26 18:36:29 UTC
This issue has been addressed in the following products:

  CloudForms Management Engine 5.8

Via RHSA-2018:2745 https://access.redhat.com/errata/RHSA-2018:2745


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