CVE-2009-0258: Typo3/cms Indexed Search Engine For TYPO3 Vulnerability

HIGH
Advisory Identifier: GHSA-74w6-ww7w-45j9
CWE-78 CWE-20
Published
Advisory Summary

CVE-2009-0258 is a HIGH indexed search engine for typo3 vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Typo3/cms libraries in the Packagist ecosystem. The issue involves indexed search engine for typo3 command execution via metacharacter injection. Remediation is available by upgrading affected packages to version 4.0.10, 4.1.8, 4.2.4.

CVE-2009-0258 at a Glance

CVE Identifier CVE-2009-0258
GHSA Identifier GHSA-74w6-ww7w-45j9
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Typo3/cms
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix CVE-2009-0258

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.0.10
Upgrade typo3/cms to 4.0.10
typo3/cms fixed: 4.1.8
Upgrade typo3/cms to 4.1.8
typo3/cms fixed: 4.2.4
Upgrade typo3/cms to 4.2.4
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-2009-0258, 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.0.10), 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-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. 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 Indexed Search Engine (indexed_search) system extension in TYPO3 4.0.0 through 4.0.9, 4.1.0 through 4.1.7, and 4.2.0 through 4.2.3 allows remote attackers to execute arbitrary commands via a crafted filename containing shell metacharacters, which is not properly handled by the command-line indexer.

CVE-2009-0258 Affected Typo3/cms Versions

3 component(s)
Fixed Versions:
4.0.104.1.84.2.4
Product / Package Ecosystem Affected Versions Fixed Version
typo3/cms
Packagist
≥ 4.0.0
< 4.0.10
4.0.10
typo3/cms
Packagist
≥ 4.1.0
< 4.1.8
4.1.8
typo3/cms
Packagist
≥ 4.2.0
< 4.2.4
4.2.4

References

Frequently Asked Questions

What is CVE-2009-0258?
CVE-2009-0258 is a security vulnerability in Typo3/cms involving Indexed Search Engine for TYPO3 Command Execution via Metacharacter Injection under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Typo3/cms versions are affected?
Affected versions include releases prior to 4.0.10, 4.1.8, 4.2.4 across affected packages: typo3/cms.
What version fixes CVE-2009-0258?
Upgrading to 4.0.10, 4.1.8, 4.2.4 (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.0.10, 4.1.8, 4.2.4. Upgrade your dependency to 4.0.10, 4.1.8, 4.2.4 or later.
What CWE is associated with CVE-2009-0258?
CVE-2009-0258 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check Packagist dependencies for CVE-2009-0258?
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-74w6-ww7w-45j9",
  "modified" : "2024-01-23T18:11:51Z",
  "published" : "2022-05-02T03:13:52Z",
  "aliases" : [ "CVE-2009-0258" ],
  "summary" : "Indexed Search Engine for TYPO3 Command Execution via Metacharacter Injection",
  "details" : "The Indexed Search Engine (indexed_search) system extension in TYPO3 4.0.0 through 4.0.9, 4.1.0 through 4.1.7, and 4.2.0 through 4.2.3 allows remote attackers to execute arbitrary commands via a crafted filename containing shell metacharacters, which is not properly handled by the command-line indexer.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.0.10"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.0.9"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1.0"
      }, {
        "fixed" : "4.1.8"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.1.7"
    }
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.2.3"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-0258"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/48138"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20111210005350/http://www.securityfocus.com/bid/33376"
  }, {
    "type" : "WEB",
    "url" : "http://typo3.org/teams/security/security-bulletins/typo3-sa-2009-001"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1711"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/01/23/4"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-78" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-23T18:11:51Z",
    "nvd_published_at" : "2009-01-22T23:30:00Z"
  }
}