CVE-2019-11832: Typo3/cms core TYPO3 Image Processing Susceptible To Vulnerability

HIGH
Advisory Identifier: GHSA-3w4h-r27h-4r2w
CVSS 7.5
CWE-94 CWE-20
Published
Advisory Summary

CVE-2019-11832 is a HIGH (CVSS 7.5) typo3 image processing susceptible to vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Typo3/cms core libraries in the Packagist ecosystem. The issue involves typo3 image processing susceptible to code execution. Remediation is available by upgrading affected packages to version 8.7.25, 9.5.6.

CVE-2019-11832 at a Glance

CVE Identifier CVE-2019-11832
GHSA Identifier GHSA-3w4h-r27h-4r2w
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected Product Typo3/cms core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-11832

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: 8.7.25
Upgrade typo3/cms-core to 8.7.25
typo3/cms-core fixed: 9.5.6
Upgrade typo3/cms-core to 9.5.6
typo3/cms fixed: 8.7.25
Upgrade typo3/cms to 8.7.25
typo3/cms fixed: 9.5.6
Upgrade typo3/cms to 9.5.6
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-2019-11832, 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 8.7.25), 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 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

TYPO3 8.x before 8.7.25 and 9.x before 9.5.6 is susceptible to remote code execution because it does not properly configure the applications used for image processing, as demonstrated by ImageMagick or GraphicsMagick. For a successful exploit, the GhostScript binary `gs` must be available on the server system.

CVE-2019-11832 Affected Typo3/cms core Versions

4 component(s)
Fixed Versions:
8.7.259.5.6
Product / Package Ecosystem Affected Versions Fixed Version
typo3/cms-core
Packagist
≥ 8.0.0
< 8.7.25
8.7.25
typo3/cms-core
Packagist
≥ 9.0.0
< 9.5.6
9.5.6
typo3/cms
Packagist
≥ 8.0.0
< 8.7.25
8.7.25
typo3/cms
Packagist
≥ 9.0.0
< 9.5.6
9.5.6

References

Frequently Asked Questions

What is CVE-2019-11832?
CVE-2019-11832 is a security vulnerability in Typo3/cms core involving TYPO3 Image Processing susceptible to Code Execution under CWE-94: Improper Control of Generation of Code ('Code Injection').
Which Typo3/cms core versions are affected?
Affected versions include releases prior to 8.7.25, 9.5.6 across affected packages: typo3/cms-core, typo3/cms.
What version fixes CVE-2019-11832?
Upgrading to 8.7.25, 9.5.6 (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 8.7.25, 9.5.6. Upgrade your dependency to 8.7.25, 9.5.6 or later.
Is typo3/cms affected?
Yes, typo3/cms is affected in releases prior to 8.7.25, 9.5.6. Upgrade your dependency to 8.7.25, 9.5.6 or later.
What is the CVSS score of CVE-2019-11832?
CVE-2019-11832 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-11832?
CVE-2019-11832 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-2019-11832?
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-3w4h-r27h-4r2w",
  "modified" : "2024-02-20T15:13:51Z",
  "published" : "2022-05-24T21:59:47Z",
  "aliases" : [ "CVE-2019-11832" ],
  "summary" : "TYPO3 Image Processing susceptible to Code Execution",
  "details" : "TYPO3 8.x before 8.7.25 and 9.x before 9.5.6 is susceptible to remote code execution because it does not properly configure the applications used for image processing, as demonstrated by ImageMagick or GraphicsMagick.\nFor a successful exploit, the GhostScript binary `gs` must be available on the server system.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.7.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.5.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.7.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "9.5.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-11832"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/github/advisory-database/pull/3530"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/2c04eeac44733fda491f92c697f88c1337d19c79"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/51fdb774a57ee30e8d60c0e33b4a0b92d775739e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TYPO3/typo3/commit/e845d90b82b2f72ab12a9e37f15082297832beca"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms-core/CVE-2019-11832.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/cms/CVE-2019-11832.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TYPO3/typo3"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-core-sa-2019-012"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-94" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-02-20T15:13:51Z",
    "nvd_published_at" : "2019-05-09T05:29:00Z"
  }
}