{
  "threat_severity" : "Important",
  "public_date" : "2018-07-20T19:54:00Z",
  "bugzilla" : {
    "description" : "cfme: Improper access control in dRuby allows local users to execute arbitrary commands as root",
    "id" : "1602190",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1602190"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.8",
    "cvss3_scoring_vector" : "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
    "status" : "verified"
  },
  "cwe" : "CWE-284",
  "details" : [ "CloudForms Management Engine (cfme) is vulnerable to an improper security setting in the dRuby component of CloudForms. An attacker with access to an unprivileged local shell could use this flaw to execute commands as a high privileged user.", "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()`." ],
  "acknowledgement" : "Red Hat would like to thank Stephen Gappinger (American Express) for reporting this issue.",
  "affected_release" : [ {
    "product_name" : "CloudForms Management Engine 5.8",
    "release_date" : "2018-09-26T00:00:00Z",
    "advisory" : "RHSA-2018:2745",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.8::el7",
    "package" : "ansible-tower-0:3.1.8-1.el7at"
  }, {
    "product_name" : "CloudForms Management Engine 5.8",
    "release_date" : "2018-09-26T00:00:00Z",
    "advisory" : "RHSA-2018:2745",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.8::el7",
    "package" : "cfme-0:5.8.5.1-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.8",
    "release_date" : "2018-09-26T00:00:00Z",
    "advisory" : "RHSA-2018:2745",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.8::el7",
    "package" : "cfme-appliance-0:5.8.5.1-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.8",
    "release_date" : "2018-09-26T00:00:00Z",
    "advisory" : "RHSA-2018:2745",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.8::el7",
    "package" : "cfme-gemset-0:5.8.5.1-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.8",
    "release_date" : "2018-09-26T00:00:00Z",
    "advisory" : "RHSA-2018:2745",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.8::el7",
    "package" : "rh-postgresql95-postgresql-pglogical-0:1.2.1-2.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.9",
    "release_date" : "2018-09-04T00:00:00Z",
    "advisory" : "RHSA-2018:2561",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.9::el7",
    "package" : "cfme-0:5.9.4.7-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.9",
    "release_date" : "2018-09-04T00:00:00Z",
    "advisory" : "RHSA-2018:2561",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.9::el7",
    "package" : "cfme-amazon-smartstate-0:5.9.4.7-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.9",
    "release_date" : "2018-09-04T00:00:00Z",
    "advisory" : "RHSA-2018:2561",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.9::el7",
    "package" : "cfme-appliance-0:5.9.4.7-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.9",
    "release_date" : "2018-09-04T00:00:00Z",
    "advisory" : "RHSA-2018:2561",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.9::el7",
    "package" : "cfme-gemset-0:5.9.4.7-1.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.9",
    "release_date" : "2018-09-04T00:00:00Z",
    "advisory" : "RHSA-2018:2561",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.9::el7",
    "package" : "rh-postgresql95-postgresql-pglogical-0:2.1.0-4.el7cf"
  }, {
    "product_name" : "CloudForms Management Engine 5.9",
    "release_date" : "2018-09-04T00:00:00Z",
    "advisory" : "RHSA-2018:2561",
    "cpe" : "cpe:/a:redhat:cloudforms_managementengine:5.9::el7",
    "package" : "rh-ruby23-rubygem-redhat_access_cfme-0:2.0.3-1.el7cf"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2018-10905\nhttps://nvd.nist.gov/vuln/detail/CVE-2018-10905" ],
  "name" : "CVE-2018-10905",
  "mitigation" : {
    "value" : "Administrators of the CloudForms appliance can filter local packages going to the port where MIQ Server is listening, by using the following iptables command:\n# iptables -I OUTPUT 1 -o lo -d localhost/32 -p tcp -m tcp --dport <MIQ Server port> -m owner '!' --uid-owner root -j DROP\nWhere the MIQ Server port can be found using netstat command:\n# netstat -nl --tcp -p | grep -i \"miq server\"",
    "lang" : "en:us"
  },
  "csaw" : false
}