CVE-2012-1608: Typo3/cms Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-w3v6-r62r-fvqh
CWE-20
Published
Advisory Summary

CVE-2012-1608 is a MODERATE cross-site scripting vulnerability (CWE-20: Improper Input Validation) affecting Typo3/cms libraries in the Packagist ecosystem. The issue involves typo3 api xss vulnerabilities. Remediation is available by upgrading affected packages to version 4.4.14, 4.5.14, 4.6.7.

CVE-2012-1608 at a Glance

CVE Identifier CVE-2012-1608
GHSA Identifier GHSA-w3v6-r62r-fvqh
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-2012-1608

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.4.14
Upgrade typo3/cms to 4.4.14
typo3/cms fixed: 4.5.14
Upgrade typo3/cms to 4.5.14
typo3/cms fixed: 4.6.7
Upgrade typo3/cms to 4.6.7
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-2012-1608, 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.4.14), 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 `t3lib_div::RemoveXSS` API method in TYPO3 4.4.0 through 4.4.13, 4.5.0 through 4.5.13, 4.6.0 through 4.6.6, 4.7, and 6.0 allows remote attackers to bypass the cross-site scripting (XSS) protection mechanism and inject arbitrary web script or HTML via non printable characters.

CVE-2012-1608 Affected Typo3/cms Versions

3 component(s)
Fixed Versions:
4.4.144.5.144.6.7
Product / Package Ecosystem Affected Versions Fixed Version
typo3/cms
Packagist
≥ 4.4.0
< 4.4.14
4.4.14
typo3/cms
Packagist
≥ 4.5.0
< 4.5.14
4.5.14
typo3/cms
Packagist
≥ 4.6.0
< 4.6.7
4.6.7

References

Frequently Asked Questions

What is CVE-2012-1608?
CVE-2012-1608 is a security vulnerability in Typo3/cms involving Typo3 API XSS Vulnerabilities under CWE-20: Improper Input Validation.
Which Typo3/cms versions are affected?
Affected versions include releases prior to 4.4.14, 4.5.14, 4.6.7 across affected packages: typo3/cms.
What version fixes CVE-2012-1608?
Upgrading to 4.4.14, 4.5.14, 4.6.7 (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.4.14, 4.5.14, 4.6.7. Upgrade your dependency to 4.4.14, 4.5.14, 4.6.7 or later.
What CWE is associated with CVE-2012-1608?
CVE-2012-1608 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-2012-1608?
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-w3v6-r62r-fvqh",
  "modified" : "2023-08-29T23:29:28Z",
  "published" : "2022-05-17T05:23:54Z",
  "aliases" : [ "CVE-2012-1608" ],
  "summary" : "Typo3 API XSS Vulnerabilities",
  "details" : "The `t3lib_div::RemoveXSS` API method in TYPO3 4.4.0 through 4.4.13, 4.5.0 through 4.5.13, 4.6.0 through 4.6.6, 4.7, and 6.0 allows remote attackers to bypass the cross-site scripting (XSS) protection mechanism and inject arbitrary web script or HTML via non printable characters.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.14"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.4.13"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.5.0"
      }, {
        "fixed" : "4.5.14"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.5.13"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.6.0"
      }, {
        "fixed" : "4.6.7"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.6.6"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1608"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20120527123559/http://www.securityfocus.com/bid/52771"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/teams/security/security-bulletins/typo3-core/typo3-core-sa-2012-001"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2012/dsa-2445"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2012/03/30/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-29T23:29:28Z",
    "nvd_published_at" : "2012-09-04T20:55:00Z"
  }
}