CVE-2015-0269: Contao/core Path Traversal Vulnerability

MODERATE
Advisory Identifier: GHSA-4r6g-xhx7-fm36
CVSS 4.3
CWE-22
Published
Advisory Summary

CVE-2015-0269 is a MODERATE (CVSS 4.3) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Contao/core libraries in the Packagist ecosystem. The issue involves contao core directory traversal vulnerability. Remediation is available by upgrading affected packages to version 3.4.4, 3.2.19.

CVE-2015-0269 at a Glance

CVE Identifier CVE-2015-0269
GHSA Identifier GHSA-4r6g-xhx7-fm36
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Product Contao/core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 4.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2015-0269

To remediate this vulnerability, upgrade all affected Contao/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

contao/core fixed: 3.4.4
Upgrade contao/core to 3.4.4
contao/core fixed: 3.2.19
Upgrade contao/core to 3.2.19
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for contao/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2015-0269, inspect your project dependencies for Contao/core:

inspect dependencies for contao/core

Analyze the terminal output to locate any version of Contao/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Contao/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Directory traversal vulnerability in Contao before 3.2.19, and 3.4.x before 3.4.4 allows remote authenticated backend users to view files outside their file mounts or the document root via unspecified vectors.

CVE-2015-0269 Affected Contao/core Versions

2 component(s)
Fixed Versions:
3.4.43.2.19
Product / Package Ecosystem Affected Versions Fixed Version
contao/core
Packagist
≥ 3.4.0
< 3.4.4
3.4.4
contao/core
Packagist
≥ 2.0.0
< 3.2.19
3.2.19

References

Frequently Asked Questions

What is CVE-2015-0269?
CVE-2015-0269 is a security vulnerability in Contao/core involving Contao Core directory traversal vulnerability under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
Which Contao/core versions are affected?
Affected versions include releases prior to 3.4.4, 3.2.19 across affected packages: contao/core.
What version fixes CVE-2015-0269?
Upgrading to 3.4.4, 3.2.19 (or the latest patched release for your respective branch) resolves the vulnerability.
Is contao/core affected?
Yes, contao/core is affected in releases prior to 3.4.4, 3.2.19. Upgrade your dependency to 3.4.4, 3.2.19 or later.
What is the CVSS score of CVE-2015-0269?
CVE-2015-0269 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2015-0269?
CVE-2015-0269 is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.).
How can I check Packagist dependencies for CVE-2015-0269?
Run the dependency tree command: 'inspect dependencies for contao/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4r6g-xhx7-fm36",
  "modified" : "2024-04-25T23:15:43Z",
  "published" : "2022-05-17T02:42:22Z",
  "aliases" : [ "CVE-2015-0269" ],
  "summary" : "Contao Core directory traversal vulnerability",
  "details" : "Directory traversal vulnerability in Contao before 3.2.19, and 3.4.x before 3.4.4 allows remote authenticated backend users to view files outside their file mounts or the document root via unspecified vectors.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.4.0"
      }, {
        "fixed" : "3.4.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "contao/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "3.2.19"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-0269"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/contao/core/commit/0229e839b4849e402256b972eb62f89f2c29674d"
  }, {
    "type" : "WEB",
    "url" : "https://contao.org/en/news/contao-3_2_19.html"
  }, {
    "type" : "WEB",
    "url" : "https://contao.org/en/news/contao-3_4_4.html"
  }, {
    "type" : "WEB",
    "url" : "https://contao.org/en/news/directory-traversal-vulnerability-cve-2015-0269.html"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core/CVE-2015-0269.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/contao/core"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-25T23:15:43Z",
    "nvd_published_at" : "2017-05-26T17:29:00Z"
  }
}