6.3
MEDIUM
CVE-2023-5115
Ansible Symlink Filewrite Vulnerability
Description

An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.

INFO

Published Date :

Dec. 18, 2023, 2:15 p.m.

Last Modified :

Sept. 16, 2024, 3:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.2

Exploitability Score :

2.1
Affected Products

The following products are affected by CVE-2023-5115 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 Redhat enterprise_linux
2 Redhat ansible
3 Redhat ansible_automation_platform
4 Redhat ansible_developer
5 Redhat ansible_inside
1 Debian debian_linux
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-2023-5115.

URL Resource
https://access.redhat.com/errata/RHSA-2023:5701 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:5758 Vendor Advisory
https://access.redhat.com/security/cve/CVE-2023-5115 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2233810 Issue Tracking

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-2023-5115 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-5115 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]

    Sep. 16, 2024

    Action Type Old Value New Value
    Removed Reference Red Hat, Inc. https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 29, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:5701 No Types Assigned https://access.redhat.com/errata/RHSA-2023:5701 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:5758 No Types Assigned https://access.redhat.com/errata/RHSA-2023:5758 Vendor Advisory
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2023-5115 No Types Assigned https://access.redhat.com/security/cve/CVE-2023-5115 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2233810 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2233810 Issue Tracking
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html No Types Assigned https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html Mailing List, Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:ansible_automation_platform:1.2:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_automation_platform:2.3:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_automation_platform:2.4:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:ansible_inside:1.1:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_inside:1.2:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:ansible_developer:1.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:ansible_developer:1.1:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Dec. 28, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://lists.debian.org/debian-lts-announce/2023/12/msg00018.html [No types assigned]
  • CVE Received by [email protected]

    Dec. 18, 2023

    Action Type Old Value New Value
    Added Description An absolute path traversal attack exists in the Ansible automation platform. This flaw allows an attacker to craft a malicious Ansible role and make the victim execute the role. A symlink can be used to overwrite a file outside of the extraction path.
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:5701 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/errata/RHSA-2023:5758 [No types assigned]
    Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2023-5115 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2233810 [No types assigned]
    Added CVSS V3.1 Red Hat, Inc. AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
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-2023-5115 is associated with the following CWEs:

Exploit Prediction

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

0.07 }} 0.01%

score

0.33266

percentile

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