7.8
HIGH
CVE-2016-3096
Ansible LXC Container Local File Writing and Privilege Escalation
Description

The create_script function in the lxc_container module in Ansible before 1.9.6-1 and 2.x before 2.0.2.0 allows local users to write to arbitrary files or gain privileges via a symlink attack on (1) /opt/.lxc-attach-script, (2) the archived container in the archive_path directory, or the (3) lxc-attach-script.log or (4) lxc-attach-script.err files in the temporary directory.

INFO

Published Date :

June 3, 2016, 2:59 p.m.

Last Modified :

Feb. 13, 2023, 4:50 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.8
Affected Products

The following products are affected by CVE-2016-3096 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.

ID Vendor Product Action
1 Fedoraproject fedora
1 Redhat ansible

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-2016-3096 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-3096 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
    Removed Reference https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0 [Third Party Advisory]
    Removed Reference https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig [Third Party Advisory]
    Added Reference https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0 [No Types Assigned]
    Added Reference https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 19, 2018

    Action Type Old Value New Value
    Changed Reference Type https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0 No Types Assigned https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0 Third Party Advisory
    Changed Reference Type https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig No Types Assigned https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig Third Party Advisory
    Changed Reference Type https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd No Types Assigned https://github.com/ansible/ansible/blob/v1.9.6-1/CHANGELOG.md#196-dancing-in-the-street---tbd Third Party Advisory
    Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183252.html Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1322925 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1322925 Issue Tracking
    Changed Reference Type https://security.gentoo.org/glsa/201607-14 No Types Assigned https://security.gentoo.org/glsa/201607-14 Third Party Advisory
    Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183103.html Third Party Advisory
    Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183132.html Vendor Advisory
    Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183274.html Vendor Advisory
    Changed Reference Type http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html No Types Assigned http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184175.html Vendor Advisory
    Removed CWE CWE-20
    Added CWE CWE-59
    Changed CPE Configuration OR *cpe:2.3:a:ansibleworks:ansible:*:*:*:*:*:*:*:* versions up to (including) 1.9.6 *cpe:2.3:a:ansibleworks:ansible:2.0:*:*:*:*:*:*:* *cpe:2.3:a:ansibleworks:ansible:2.0.1:*:*:*:*:*:*:* OR *cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* versions up to (including) 1.9.6 *cpe:2.3:a:redhat:ansible:2.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible:2.0.1:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 13, 2018

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0 [No Types Assigned]
    Removed Reference https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig [No Types Assigned]
    Added Reference https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig [No Types Assigned]
    Added Reference https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201607-14 [No Types Assigned]
  • Modified Analysis by [email protected]

    Jun. 07, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* Configuration 2 OR *cpe:2.3:a:ansibleworks:ansible:2.0.1:*:*:*:*:*:*:* *cpe:2.3:a:ansibleworks:ansible:2.0:*:*:*:*:*:*:* *cpe:2.3:a:ansibleworks:ansible:1.9.6:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4 No Types Assigned https://github.com/ansible/ansible-modules-extras/pull/1941/commits/8c6fe646ee79f5e55361b885b7efed5bec72d4a4 Patch
    Changed Reference Type https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away No Types Assigned https://github.com/ansible/ansible/blob/v2.0.2.0-1/CHANGELOG.md#202-over-the-hills-and-far-away Patch
    Changed Reference Type https://github.com/ansible/ansible-modules-extras/pull/1941 No Types Assigned https://github.com/ansible/ansible-modules-extras/pull/1941 Patch
    Added CWE CWE-20
  • CVE Modified by [email protected]

    Jun. 07, 2016

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#!topic/ansible-announce/tqiZbcWxYig
    Removed Reference https://groups.google.com/forum/#!topic/ansible-announce/E80HLZilTU0
    Added Reference https://groups.google.com/forum/#%21topic/ansible-announce/E80HLZilTU0
    Added Reference https://groups.google.com/forum/#%21topic/ansible-announce/tqiZbcWxYig
  • Initial Analysis by [email protected]

    Jun. 06, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-3096 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-2016-3096 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.08236

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability