GHSA-26hp-cgjj-m2j3 fuel/core ImageMagick driver does not escape all shell arguments.

Not scored Published

Attackers can execute arbitrary OS commands via crafted image filenames in the FuelPHP ImageMagick driver.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-26hp-cgjj-m2j3?

GHSA-26hp-cgjj-m2j3 is a command injection vulnerability in fuel/core, published on 15 May 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

This vulnerability may cause OS commands to be executed when you pass unvalidated image filenames containing specially crafted strings to the ImageMagick driver.

Which versions are affected by GHSA-26hp-cgjj-m2j3?

2 open source packages ship an affected version, including fuel/core.

PackageAffectedFixed in
fuel/core PackagistAll versions1.8.0.4
fuel/core PackagistAll versions1.8.0.4

How do I fix GHSA-26hp-cgjj-m2j3?

Upgrade fuel/core to 1.8.0.4 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is GHSA-26hp-cgjj-m2j3 being exploited?

There is no known exploitation of GHSA-26hp-cgjj-m2j3 in the wild and no public exploit code.

Sources

Is GHSA-26hp-cgjj-m2j3 in your software?

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

Check your SBOMs for free