CVE-2016-5118

The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (pipe) character at…

published June 10, 2016

CVSS
—
EPSS
50%
Percentile
98.9
In the wild
Unconfirmed
What it is

⚠️ Just a single pipe character in a filename can let attackers execute arbitrary code! That’s like a sneaky chef slipping a secret ingredient into your dish without you knowing. 🍽️ Think of it as a kitchen where anyone can sneak in and swap your order with something harmful. If the chef isn't careful about checking the ingredients, they might serve up a recipe for disaster! With this vulnerability, an attacker could run malicious code on the server, potentially taking control of the system. This could lead to unauthorized access to sensitive data or even compromise the server's integrity, which would be absolutely devastating!

Put simply

Think of it as a kitchen where anyone can sneak in and swap your order with something harmful. If the chef isn't careful about checking the ingredients, they might serve up a recipe for disaster! The flaw in the OpenBlob function of GraphicsMagick and ImageMagick allows remote execution of arbitrary code by placing a pipe character at the start of a filename, thereby bypassing security checks.

What to do

With this vulnerability, an attacker could run malicious code on the server, potentially taking control of the system. This could lead to unauthorized access to sensitive data or even compromise the server's integrity, which would be absolutely devastating! To protect your systems, upgrade GraphicsMagick and ImageMagick to version 1.3.24 or later immediately. Regularly audit your code to ensure proper validation and sanitization of input filenames to prevent similar issues in the future. This is fixable! Follow these steps and you'll keep your systems secure in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.49982 · 98.9th percentile
Published
2016-06-10T15:00Z
EPSS history
Timeline
  • 10 JUN 15:00Z
    The OpenBlob function in blob.c in GraphicsMagick before 1.3.24 and ImageMagick allows remote attackers to execute arbitrary code via a | (pipe) character at…
    cvelistv5