CVE-2010-5099: Typo3/cms Path Traversal Vulnerability

MODERATE
Advisory Identifier: GHSA-66j3-66cp-6c2m
CWE-20 CWE-22
Published
Advisory Summary

CVE-2010-5099 is a MODERATE path traversal vulnerability (CWE-20: Improper Input Validation) affecting Typo3/cms libraries in the Packagist ecosystem. The issue involves typo3 path traversal vulnerability. Remediation is available by upgrading affected packages to version 4.2.16, 4.3.9, 4.4.5.

CVE-2010-5099 at a Glance

CVE Identifier CVE-2010-5099
GHSA Identifier GHSA-66j3-66cp-6c2m
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Typo3/cms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2010-5099

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

typo3/cms fixed: 4.2.16
Upgrade typo3/cms to 4.2.16
typo3/cms fixed: 4.3.9
Upgrade typo3/cms to 4.3.9
typo3/cms fixed: 4.4.5
Upgrade typo3/cms to 4.4.5
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 typo3/cms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2010-5099, inspect your project dependencies for Typo3/cms:

inspect dependencies for typo3/cms

Analyze the terminal output to locate any version of Typo3/cms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.16), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Typo3/cms, 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

The fileDenyPattern functionality in the PHP file inclusion protection API in TYPO3 4.2.x before 4.2.16, 4.3.x before 4.3.9, and 4.4.x before 4.4.5 does not properly filter file types, which allows remote attackers to bypass intended access restrictions and access arbitrary PHP files, as demonstrated using path traversal sequences with %00 null bytes and CVE-2010-3714 to read the TYPO3 encryption key from localconf.php.

CVE-2010-5099 Affected Typo3/cms Versions

3 component(s)
Fixed Versions:
4.2.164.3.94.4.5
Product / Package Ecosystem Affected Versions Fixed Version
typo3/cms
Packagist
≥ 4.2.0
< 4.2.16
4.2.16
typo3/cms
Packagist
≥ 4.3.0
< 4.3.9
4.3.9
typo3/cms
Packagist
≥ 4.4.0
< 4.4.5
4.4.5

References

Frequently Asked Questions

What is CVE-2010-5099?
CVE-2010-5099 is a security vulnerability in Typo3/cms involving TYPO3 Path Traversal vulnerability under CWE-20: Improper Input Validation.
Which Typo3/cms versions are affected?
Affected versions include releases prior to 4.2.16, 4.3.9, 4.4.5 across affected packages: typo3/cms.
What version fixes CVE-2010-5099?
Upgrading to 4.2.16, 4.3.9, 4.4.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is typo3/cms affected?
Yes, typo3/cms is affected in releases prior to 4.2.16, 4.3.9, 4.4.5. Upgrade your dependency to 4.2.16, 4.3.9, 4.4.5 or later.
What CWE is associated with CVE-2010-5099?
CVE-2010-5099 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Packagist dependencies for CVE-2010-5099?
Run the dependency tree command: 'inspect dependencies for typo3/cms'. 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-66j3-66cp-6c2m",
  "modified" : "2025-04-12T02:30:59Z",
  "published" : "2022-05-17T01:55:58Z",
  "aliases" : [ "CVE-2010-5099" ],
  "summary" : "TYPO3 Path Traversal vulnerability",
  "details" : "The fileDenyPattern functionality in the PHP file inclusion protection API in TYPO3 4.2.x before 4.2.16, 4.3.x before 4.3.9, and 4.4.x before 4.4.5 does not properly filter file types, which allows remote attackers to bypass intended access restrictions and access arbitrary PHP files, as demonstrated using path traversal sequences with %00 null bytes and CVE-2010-3714 to read the TYPO3 encryption key from localconf.php.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.3.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-5099"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/64180"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TYPO3/typo3"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20120801235059/http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-sa-2010-022"
  }, {
    "type" : "WEB",
    "url" : "http://blog.nibblesec.org/2010/12/typo3-sa-2010-020-typo3-sa-2010-022.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.exploit-db.com/exploits/15856"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/01/13/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/05/10/7"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/05/11/3"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/05/12/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-22" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-12T02:30:59Z",
    "nvd_published_at" : "2012-05-30T20:55:00Z"
  }
}