CVE-2018-10874
Ansible Inventory Variable Injection Vulnerability
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.
INFO
Published Date :
July 2, 2018, 1:29 p.m.
Last Modified :
Feb. 13, 2023, 4:51 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Affected Products
The following products are affected by CVE-2018-10874
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-10874
.
URL | Resource |
---|---|
http://www.securitytracker.com/id/1041396 | Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHBA-2018:3788 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2018:2150 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2018:2151 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2018:2152 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2018:2166 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2018:2321 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2018:2585 | Vendor Advisory |
https://access.redhat.com/errata/RHSA-2019:0054 | Vendor Advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874 | Issue Tracking Vendor Advisory |
https://usn.ubuntu.com/4072-1/ |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-10874
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-10874
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Feb. 13, 2023
Action Type Old Value New Value Changed Description CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution 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. Removed Reference https://access.redhat.com/security/cve/CVE-2018-10874 [No Types Assigned] Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1596528 [No Types Assigned] Added CWE Red Hat, Inc. CWE-426 -
CVE Modified by [email protected]
Feb. 02, 2023
Action Type Old Value New Value Changed 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. CVE-2018-10874 ansible: Inventory variables are loaded from current working directory when running ad-hoc command that can lead to code execution Added Reference https://access.redhat.com/security/cve/CVE-2018-10874 [No Types Assigned] Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1596528 [No Types Assigned] Removed CWE Red Hat, Inc. CWE-426 Removed CWE Reason CWE-426 / Assessment performed prior to CVMAP efforts -
CPE Deprecation Remap by [email protected]
Aug. 04, 2021
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:* OR *cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 09, 2019
Action Type Old Value New Value Added CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE Red Hat, Inc. CWE-426 -
CVE Modified by [email protected]
Jul. 25, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4072-1/ [No Types Assigned] -
Modified Analysis by [email protected]
Apr. 23, 2019
Action Type Old Value New Value Changed Reference Type https://access.redhat.com/errata/RHSA-2019:0054 No Types Assigned https://access.redhat.com/errata/RHSA-2019:0054 Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHBA-2018:3788 No Types Assigned https://access.redhat.com/errata/RHBA-2018:3788 Vendor Advisory Changed CPE Configuration OR *cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* OR *cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Jan. 17, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:0054 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 06, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHBA-2018:3788 [No Types Assigned] -
Initial Analysis by [email protected]
Sep. 04, 2018
Action Type Old Value New Value Added CVSS V2 (AV:L/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2151 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2151 Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2152 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2152 Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2150 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2150 Vendor Advisory Changed Reference Type http://www.securitytracker.com/id/1041396 No Types Assigned http://www.securitytracker.com/id/1041396 Third Party Advisory, VDB Entry Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874 Issue Tracking, Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2166 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2166 Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2321 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2321 Vendor Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:2585 No Types Assigned https://access.redhat.com/errata/RHSA-2018:2585 Vendor Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.4:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Aug. 30, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:2585 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 02, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:2321 [No Types Assigned] Added Reference http://www.securitytracker.com/id/1041396 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 12, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:2166 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:2152 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:2151 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:2150 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-10874
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2018-10874
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.08 }} 0.02%
score
0.30845
percentile