CVE-2010-4167 Path traversal in n/a

Medium 6.9 Published Updated

Local attackers can gain privileges by placing a malicious configuration file in the current working directory when specific build options are enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2010-4167?

CVE-2010-4167 is a medium-severity path traversal vulnerability in Imagemagick Imagemagick, published on 22 Nov 2010. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Untrusted search path vulnerability in configure.c in ImageMagick before 6.6.5-5, when MAGICKCORE_INSTALLED_SUPPORT is defined, allows local users to gain privileges via a Trojan horse configuration file in the current working directory.

Which versions are affected by CVE-2010-4167?

It affects 1 product.

Linux distribution packages (14)
ImageMagick Red Hat:enterprise_linux:5::clientAll versions0:6.2.8.0-12.el5
ImageMagick-c++ Red Hat:enterprise_linux:5::clientAll versions0:6.2.8.0-12.el5
ImageMagick-debuginfo Red Hat:enterprise_linux:5::clientAll versions0:6.2.8.0-12.el5
ImageMagick-perl Red Hat:enterprise_linux:5::clientAll versions0:6.2.8.0-12.el5
ImageMagick Red Hat:enterprise_linux:5::client_workstationAll versions0:6.2.8.0-12.el5
ImageMagick-c++-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:6.2.8.0-12.el5
ImageMagick-debuginfo Red Hat:enterprise_linux:5::client_workstationAll versions0:6.2.8.0-12.el5
ImageMagick-devel Red Hat:enterprise_linux:5::client_workstationAll versions0:6.2.8.0-12.el5
ImageMagick Red Hat:enterprise_linux:5::serverAll versions0:6.2.8.0-12.el5
ImageMagick-c++ Red Hat:enterprise_linux:5::serverAll versions0:6.2.8.0-12.el5
ImageMagick-c++-devel Red Hat:enterprise_linux:5::serverAll versions0:6.2.8.0-12.el5
ImageMagick-debuginfo Red Hat:enterprise_linux:5::serverAll versions0:6.2.8.0-12.el5
ImageMagick-devel Red Hat:enterprise_linux:5::serverAll versions0:6.2.8.0-12.el5
ImageMagick-perl Red Hat:enterprise_linux:5::serverAll versions0:6.2.8.0-12.el5

Products include Imagemagick Imagemagick.

How do I fix CVE-2010-4167?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2010-4167 being exploited?

There is no known exploitation of CVE-2010-4167 in the wild and no public exploit code.

All Imagemagick Imagemagick vulnerabilities

Sources

Also known as DEBIAN-CVE-2010-4167, GHSA-47hr-2rq3-9pw5, RHSA-2012:0301.

Is CVE-2010-4167 in your software?

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

Check your SBOMs for free