cve.bz

CVE-2018-10905 redhat: OS Command Injection

7.8 highEPSS 0.5%

High (7.8) in redhat. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

7.8 high
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 42nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-284 Improper Access Control
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-10905 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-10905?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-10905?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-10905 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:cloudforms4.5
redhat:cloudforms4.6
redhat:cloudforms_management_engine5.8
redhat:cloudforms_management_engine5.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatcloudforms_managementengine:5.8::el7ansible-tower-setup, ansible-tower-server0:3.1.8-1.el7atRHSA-2018:2745
Red Hatcloudforms_managementengine:5.8::el7cfme, cfme-gemset, cfme-appliance and 2 more0:5.8.5.1-1.el7cfRHSA-2018:2745
Red Hatcloudforms_managementengine:5.8::el7rh-postgresql95-postgresql-pglogical, rh-postgresql95-postgresql-pglogical-debuginfo0:1.2.1-2.el7cfRHSA-2018:2745
Red Hatcloudforms_managementengine:5.9::el7cfme, cfme-gemset, cfme-appliance and 6 more0:5.9.4.7-1.el7cfRHSA-2018:2561
Red Hatcloudforms_managementengine:5.9::el7rh-postgresql95-postgresql-pglogical, rh-postgresql95-postgresql-pglogical-debuginfo0:2.1.0-4.el7cfRHSA-2018:2561
Red Hatcloudforms_managementengine:5.9::el7rh-ruby23-rubygem-redhat_access_cfme, rh-ruby23-rubygem-redhat_access_cfme-doc0:2.0.3-1.el7cfRHSA-2018:2561

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's 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"

ProductPackageStateAdvisory
CloudForms Management Engine 5.8ansible-tower-0:3.1.8-1.el7atFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8cfme-0:5.8.5.1-1.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8cfme-appliance-0:5.8.5.1-1.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8cfme-gemset-0:5.8.5.1-1.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.8rh-postgresql95-postgresql-pglogical-0:1.2.1-2.el7cfFixed 2018-09-26RHSA-2018:2745
CloudForms Management Engine 5.9cfme-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9cfme-amazon-smartstate-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9cfme-appliance-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9cfme-gemset-0:5.9.4.7-1.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9rh-postgresql95-postgresql-pglogical-0:2.1.0-4.el7cfFixed 2018-09-04RHSA-2018:2561
CloudForms Management Engine 5.9rh-ruby23-rubygem-redhat_access_cfme-0:2.0.3-1.el7cfFixed 2018-09-04RHSA-2018:2561

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-10905.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).

References

Check your stackJSON