CVE-2009-3631: Typo3/cms backend TYPO3 Backend Command Injection Vulnerability

HIGH
Advisory Identifier: GHSA-3cqw-pxgr-jhrm
CWE-94
Published
Advisory Summary

CVE-2009-3631 is a HIGH typo3 backend command injection vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Typo3/cms backend libraries in the Packagist ecosystem. The issue involves typo3 backend command injection via shell metacharacters in uploaded file name. Remediation is available by upgrading affected packages to version 4.1.13, 4.2.10, 4.3beta2.

CVE-2009-3631 at a Glance

CVE Identifier CVE-2009-3631
GHSA Identifier GHSA-3cqw-pxgr-jhrm
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Typo3/cms backend
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2009-3631

To remediate this vulnerability, upgrade all affected Typo3/cms backend 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-backend fixed: Latest secure release
Upgrade typo3/cms-backend to Latest secure release
typo3/cms-backend fixed: 4.1.13
Upgrade typo3/cms-backend to 4.1.13
typo3/cms-backend fixed: 4.2.10
Upgrade typo3/cms-backend to 4.2.10
typo3/cms-backend fixed: 4.3beta2
Upgrade typo3/cms-backend to 4.3beta2
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-backend

How to Check if You Are Affected

To determine whether your application is affected by CVE-2009-3631, inspect your project dependencies for Typo3/cms backend:

inspect dependencies for typo3/cms-backend

Analyze the terminal output to locate any version of Typo3/cms backend in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.13), 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-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Typo3/cms backend, 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 Backend subcomponent in TYPO3 4.0.13 and earlier, 4.1.x before 4.1.13, 4.2.x before 4.2.10, and 4.3.x before 4.3beta2, when the DAM extension or ftp upload is enabled, allows remote authenticated users to execute arbitrary commands via shell metacharacters in a filename.

CVE-2009-3631 Affected Typo3/cms backend Versions

4 component(s)
Fixed Versions:
4.1.134.2.104.3beta2
Product / Package Ecosystem Affected Versions Fixed Version
typo3/cms-backend
Packagist
≤ 4.0.13
typo3/cms-backend
Packagist
≥ 4.1.0
< 4.1.13
4.1.13
typo3/cms-backend
Packagist
≥ 4.2.0
< 4.2.10
4.2.10
typo3/cms-backend
Packagist
≥ 4.3alpha1
< 4.3beta2
4.3beta2

References

Frequently Asked Questions

What is CVE-2009-3631?
CVE-2009-3631 is a security vulnerability in Typo3/cms backend involving TYPO3 Backend Command Injection via Shell Metacharacters in Uploaded File Name under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Typo3/cms backend versions are affected?
Affected versions include releases prior to 4.1.13, 4.2.10, 4.3beta2 across affected packages: typo3/cms-backend.
What version fixes CVE-2009-3631?
Upgrading to 4.1.13, 4.2.10, 4.3beta2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is typo3/cms-backend affected?
Yes, typo3/cms-backend is affected in releases prior to Latest secure release, 4.1.13, 4.2.10, 4.3beta2. Upgrade your dependency to Latest secure release, 4.1.13, 4.2.10, 4.3beta2 or later.
What CWE is associated with CVE-2009-3631?
CVE-2009-3631 is classified under CWE-94: Improper Control of Generation of Code ('Code Injection') (The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.).
How can I check Packagist dependencies for CVE-2009-3631?
Run the dependency tree command: 'inspect dependencies for typo3/cms-backend'. 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-3cqw-pxgr-jhrm",
  "modified" : "2024-02-08T21:38:02Z",
  "published" : "2022-05-02T03:46:56Z",
  "aliases" : [ "CVE-2009-3631" ],
  "summary" : "TYPO3 Backend Command Injection via Shell Metacharacters in Uploaded File Name",
  "details" : "The Backend subcomponent in TYPO3 4.0.13 and earlier, 4.1.x before 4.1.13, 4.2.x before 4.2.10, and 4.3.x before 4.3beta2, when the DAM extension or ftp upload is enabled, allows remote authenticated users to execute arbitrary commands via shell metacharacters in a filename.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-backend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "4.0.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-backend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0"
      }, {
        "fixed" : "4.1.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-backend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-backend"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.3alpha1"
      }, {
        "fixed" : "4.3beta2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-3631"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/53923"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TYPO3-CMS/backend"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20101223093042/http://www.securityfocus.com/bid/36801"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=oss-security&m=125632856206736&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-016"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-08T21:38:01Z",
    "nvd_published_at" : "2009-11-02T15:30:00Z"
  }
}