GHSA-5vv7-j593-mgjc Neos Flow Arbitrary file upload and XML External Entity processing

Not scored Published

Arbitrary file upload in Neos Flow allows remote code execution if the application permits uploads and the server executes uploaded scripts.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-5vv7-j593-mgjc?

GHSA-5vv7-j593-mgjc is a vulnerability in neos/flow, published on 17 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-5vv7-j593-mgjc?

4 open source packages ship an affected version, including neos/flow.

PackageAffectedFixed in
neos/flow PackagistFrom 2.3.02.3.7
neos/flow PackagistFrom 2.3.02.3.7
neos/flow PackagistFrom 3.0.03.0.1
neos/flow PackagistFrom 3.0.03.0.1

How do I fix GHSA-5vv7-j593-mgjc?

Upgrade neos/flow to a fixed version for your release line: 2.3.7 or 3.0.1.

Is GHSA-5vv7-j593-mgjc being exploited?

There is no known exploitation of GHSA-5vv7-j593-mgjc in the wild and no public exploit code.

Sources

Is GHSA-5vv7-j593-mgjc in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free