GHSA-2p4f-vc9q-r5vp: Typo3/flow Typo3 Arbitrary File Upload And Vulnerability

MODERATE
Published
Advisory Summary

GHSA-2p4f-vc9q-r5vp is a MODERATE typo3 arbitrary file upload and vulnerability (General Security Weakness) affecting Typo3/flow libraries in the Packagist ecosystem. The issue involves typo3 arbitrary file upload and xml external entity processing. Remediation is available by upgrading affected packages to version 2.3.7, 3.0.1.

GHSA-2p4f-vc9q-r5vp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2p4f-vc9q-r5vp
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Typo3/flow
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-2p4f-vc9q-r5vp

To remediate this vulnerability, upgrade all affected Typo3/flow 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/flow fixed: 2.3.7
Upgrade typo3/flow to 2.3.7
typo3/flow fixed: 3.0.1
Upgrade typo3/flow to 3.0.1
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/flow

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2p4f-vc9q-r5vp, inspect your project dependencies for Typo3/flow:

inspect dependencies for typo3/flow

Analyze the terminal output to locate any version of Typo3/flow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.7), 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 General Security Weakness. In Typo3/flow, 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

It has been discovered that Flow 3.0.0 allows arbitrary file uploads, inlcuding server-side scripts, posing the risk of attacks. If those scripts are executed by the server when accessed through their public URL, anything not blocked through other means is possible (information disclosure, placement of backdoors, data removal, …). Note: The upload of files is only possible if the application built on Flow provides means to do so, and whether or not the upload of files poses a risk is dependent on the system setup. If uploaded script files are not executed by the server, there is no risk. In versions prior to 3.0.0 the upload of files with the extension php was blocked. In Flow 2.3.0 to 2.3.6 a potential XML External Entity processing vulnerability has been discovered in the MediaTypeConverter.

GHSA-2p4f-vc9q-r5vp Affected Typo3/flow Versions

2 component(s)
Fixed Versions:
2.3.73.0.1
Product / Package Ecosystem Affected Versions Fixed Version
typo3/flow
Packagist
≥ 2.3.0
< 2.3.7
2.3.7
typo3/flow
Packagist
≥ 3.0.0
< 3.0.1
3.0.1

References

Frequently Asked Questions

What is GHSA-2p4f-vc9q-r5vp?
GHSA-2p4f-vc9q-r5vp is a security vulnerability in Typo3/flow involving Typo3 Arbitrary file upload and XML External Entity processing under General Security Weakness.
Which Typo3/flow versions are affected?
Affected versions include releases prior to 2.3.7, 3.0.1 across affected packages: typo3/flow.
What version fixes GHSA-2p4f-vc9q-r5vp?
Upgrading to 2.3.7, 3.0.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is typo3/flow affected?
Yes, typo3/flow is affected in releases prior to 2.3.7, 3.0.1. Upgrade your dependency to 2.3.7, 3.0.1 or later.
What CWE is associated with GHSA-2p4f-vc9q-r5vp?
GHSA-2p4f-vc9q-r5vp is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-2p4f-vc9q-r5vp?
Run the dependency tree command: 'inspect dependencies for typo3/flow'. 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-2p4f-vc9q-r5vp",
  "modified" : "2024-06-05T18:26:34Z",
  "published" : "2024-06-05T18:26:34Z",
  "aliases" : [ ],
  "summary" : "Typo3 Arbitrary file upload and XML External Entity processing",
  "details" : "It has been discovered that Flow 3.0.0 allows arbitrary file uploads, inlcuding server-side scripts, posing the risk of attacks. If those scripts are executed by the server when accessed through their public URL, anything not blocked through other means is possible (information disclosure, placement of backdoors, data removal, …).\n\nNote: The upload of files is only possible if the application built on Flow provides means to do so, and whether or not the upload of files poses a risk is dependent on the system setup. If uploaded script files are not executed by the server, there is no risk. In versions prior to 3.0.0 the upload of files with the extension php was blocked.\n\nIn Flow 2.3.0 to 2.3.6 a potential XML External Entity processing vulnerability has been discovered in the MediaTypeConverter.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.3.0"
      }, {
        "fixed" : "2.3.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "typo3/flow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/typo3/flow/2015-11-23.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://www.neos.io/blog/flow-sa-2015-001.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-05T18:26:34Z",
    "nvd_published_at" : null
  }
}