CVE-2018-10874

Current Description

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

Basic Data

PublishedJuly 02, 2018
Last ModifiedJuly 25, 2019
Assignercve@mitre.org
Data TypeCVE
Data FormatMITRE
Data Version4.0
Problem TypeCWE-20
CVE Data Version4.0

Base Metric V2

CVSS 2 - Version2.0
CVSS 2 - Vector StringAV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS 2 - Access VectorLOCAL
CVSS 2 - Access ComplexityLOW
CVSS 2 - AuthenticationNONE
CVSS 2 - Confidentiality ImpactPARTIAL
CVSS 2 - Availability ImpactPARTIAL
CVSS 2 - Base Score4.6
SeverityMEDIUM
Exploitability Score3.9
Impact Score6.4
Obtain All Privilegefalse
Obtain User Privilegefalse
Obtain Other Privilegefalse

Base Metric V3

CVSS 3 - Version3.0
CVSS 3 - Vector StringCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3 - Attack VectorLOCAL
CVSS 3 - Attack ComplexityLOW
CVSS 3 - Privileges RequiredLOW
CVSS 3 - User InteractionNONE
CVSS 3 - ScopeUNCHANGED
CVSS 3 - Confidentiality ImpactHIGH
CVSS 3 - Integrity ImpactHIGH
CVSS 3 - Availability ImpactHIGH
CVSS 3 - Base Score7.8
CVSS 3 - Base SeverityHIGH
Exploitability Score1.8
Base SeverityHIGH

Configurations

  • OR - Configuration 1
    Cpe VersionPartVendorProductVersionUpdateEditionLanguageSW EditionTarget SWTarget HWOtherVersion Start IncludingVersion End IncludingVersion Start ExcludingVersion End Excluding
    2.3ApplicationRedhatAnsible Engine2.0*******
    2.3ApplicationRedhatAnsible Engine2.4*******
    2.3ApplicationRedhatAnsible Engine2.5*******
    2.3ApplicationRedhatAnsible Engine2.6*******
    2.3ApplicationRedhatOpenstack10*******
    2.3ApplicationRedhatOpenstack12*******
    2.3ApplicationRedhatOpenstack13.0*******
    2.3ApplicationRedhatVirtualization4.0*******
    2.3ApplicationRedhatVirtualization Host4.0*******

Vulnerable Software List

VendorProductVersions
Redhat Openstack 10, 12, 13.0
Redhat Virtualization Host 4.0
Redhat Ansible Engine 2.0, 2.4, 2.5, 2.6
Redhat Virtualization 4.0

References

NameSourceURLTags
1041396http://www.securitytracker.com/id/1041396SECTRACKThird Party Advisory VDB Entry
RHBA-2018:3788https://access.redhat.com/errata/RHBA-2018:3788REDHATVendor Advisory
RHSA-2018:2150https://access.redhat.com/errata/RHSA-2018:2150REDHATVendor Advisory
RHSA-2018:2151https://access.redhat.com/errata/RHSA-2018:2151REDHATVendor Advisory
RHSA-2018:2152https://access.redhat.com/errata/RHSA-2018:2152REDHATVendor Advisory
RHSA-2018:2166https://access.redhat.com/errata/RHSA-2018:2166REDHATVendor Advisory
RHSA-2018:2321https://access.redhat.com/errata/RHSA-2018:2321REDHATVendor Advisory
RHSA-2018:2585https://access.redhat.com/errata/RHSA-2018:2585REDHATVendor Advisory
RHSA-2019:0054https://access.redhat.com/errata/RHSA-2019:0054REDHATVendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874CONFIRMIssue Tracking Vendor Advisory
USN-4072-1https://usn.ubuntu.com/4072-1/UBUNTU