CVE-2010-5104: Typo3/cms core TYPO3 Sensitive Information Disclosure Vulnerability

MODERATE
Advisory Identifier: GHSA-xgc2-q928-27wv
CWE-200
Published
Advisory Summary

CVE-2010-5104 is a MODERATE typo3 sensitive information disclosure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Typo3/cms core libraries in the Packagist ecosystem. The issue involves typo3 sensitive information disclosure via escapestrforlike method. Remediation is available by upgrading affected packages to version 4.2.16, 4.3.9, 4.4.5.

CVE-2010-5104 at a Glance

CVE Identifier CVE-2010-5104
GHSA Identifier GHSA-xgc2-q928-27wv
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Typo3/cms core
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2010-5104

To remediate this vulnerability, upgrade all affected Typo3/cms 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.

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

How to Check if You Are Affected

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

inspect dependencies for typo3/cms-core

Analyze the terminal output to locate any version of Typo3/cms core 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Typo3/cms 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

The escapeStrForLike method 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 escape input when the MySQL database is set to sql_mode NO_BACKSLASH_ESCAPES, which allows remote attackers to obtain sensitive information via wildcard characters in a LIKE query.

CVE-2010-5104 Affected Typo3/cms core Versions

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

References

NVD — CVE-2010-5104 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-5104
Security Fix Commit FIX COMMIT
https://github.com/TYPO3/typo3/commit/9eb4be4ccf10e6959699b9cce375d48697f06cba
Security Fix Commit FIX COMMIT
https://github.com/TYPO3/typo3/commit/e8c32474a5571336681243465f42090cf056054f
Security Fix Commit FIX COMMIT
https://github.com/TYPO3/typo3/commit/fcabd2fc2aa557c94805f7505277185c4abb68ab
exchange.xforce.ibmcloud.com/vulnerabilities/641... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/64185
Typo3/cms core Source Repository REPOSITORY
https://github.com/TYPO3-CMS/core
web.archive.org/web/20101219052359/... WEB
https://web.archive.org/web/20101219052359/http://secunia.com/advisories/35770
Typo3/cms core Security Information SECURITY
https://web.archive.org/web/20111025222220/http://typo3.org/teams/security/security-bulletins/typo3-sa-2010-022
Typo3/cms core Security Information SECURITY
https://web.archive.org/web/20111223211753/http://www.securityfocus.com/bid/45470
Typo3/cms core Security Information SECURITY
http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-sa-2010-022
Typo3/cms core Security Information SECURITY
http://www.openwall.com/lists/oss-security/2011/01/13/2
Typo3/cms core Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/05/10/7
Typo3/cms core Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/05/11/3
Typo3/cms core Security Information SECURITY
http://www.openwall.com/lists/oss-security/2012/05/12/5

Frequently Asked Questions

What is CVE-2010-5104?
CVE-2010-5104 is a security vulnerability in Typo3/cms core involving TYPO3 Sensitive Information Disclosure via escapeStrForLike method under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Typo3/cms core versions are affected?
Affected versions include releases prior to 4.2.16, 4.3.9, 4.4.5 across affected packages: typo3/cms-core.
What version fixes CVE-2010-5104?
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-core affected?
Yes, typo3/cms-core 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-5104?
CVE-2010-5104 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2010-5104?
Run the dependency tree command: 'inspect dependencies for typo3/cms-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-xgc2-q928-27wv",
  "modified" : "2024-02-07T23:31:04Z",
  "published" : "2022-05-17T01:55:53Z",
  "aliases" : [ "CVE-2010-5104" ],
  "summary" : "TYPO3 Sensitive Information Disclosure via escapeStrForLike method",
  "details" : "The escapeStrForLike method 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 escape input when the MySQL database is set to sql_mode NO_BACKSLASH_ESCAPES, which allows remote attackers to obtain sensitive information via wildcard characters in a LIKE query.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3.0"
      }, {
        "fixed" : "4.3.9"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-5104"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/9eb4be4ccf10e6959699b9cce375d48697f06cba"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/e8c32474a5571336681243465f42090cf056054f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/fcabd2fc2aa557c94805f7505277185c4abb68ab"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/64185"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TYPO3-CMS/core"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20101219052359/http://secunia.com/advisories/35770"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20111025222220/http://typo3.org/teams/security/security-bulletins/typo3-sa-2010-022"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20111223211753/http://www.securityfocus.com/bid/45470"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-sa-2010-022"
  }, {
    "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-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-07T23:31:03Z",
    "nvd_published_at" : "2012-05-21T20:55:00Z"
  }
}