CVE-2010-4167
published 2010-11-22CVE-2010-4167: 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…
PriorityP420medium6.9CVSS 2.0
AVLACMAuNCCICAC
EPSS
0.35%
28.1th percentile
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.
Affected
331 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | imagemagick | < imagemagick 8:6.6.0.4-3 (bookworm) | imagemagick 8:6.6.0.4-3 (bookworm) |
| imagemagick | imagemagick | <= 6.6.5-4 | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | — | — |
CVSS provenance
nvdv2.06.9MEDIUMAV:L/AC:M/Au:N/C:C/I:C/A:C
osv6.9MEDIUM
vendor_debian6.9LOW
vendor_redhat6.9MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-47hr-2rq3-9pw5: Untrusted search path vulnerability in configure
ghsa_unreviewed·2022-05-14
CVE-2010-4167 [MEDIUM] GHSA-47hr-2rq3-9pw5: Untrusted search path vulnerability in configure
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.
OSV
CVE-2010-4167: Untrusted search path vulnerability in configure
osv·2010-11-22·CVSS 6.9
CVE-2010-4167 [MEDIUM] CVE-2010-4167: Untrusted search path vulnerability in configure
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.
Ubuntu
ImageMagick vulnerability
vendor_ubuntu·2010-12-07
CVE-2010-4167 ImageMagick vulnerability
Title: ImageMagick vulnerability
It was discovered that ImageMagick would search for configuration files in
the current directory. If a user were tricked into opening or processing an
image in an arbitrary directory, a local attacker could execute arbitrary
code with the user's privileges.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: configuration files read from $CWD may allow arbitrary code execution
vendor_redhat·2010-10-30·CVSS 6.9
CVE-2010-4167 [MEDIUM] ImageMagick: configuration files read from $CWD may allow arbitrary code execution
ImageMagick: configuration files read from $CWD may allow arbitrary code execution
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.
Package: ImageMagick (Red Hat Enterprise Linux 4) - Will not fix
Debian
CVE-2010-4167: imagemagick - Untrusted search path vulnerability in configure.c in ImageMagick before 6.6.5-5...
vendor_debian·2010·CVSS 6.9
CVE-2010-4167 [MEDIUM] CVE-2010-4167: imagemagick - Untrusted search path vulnerability in configure.c in ImageMagick before 6.6.5-5...
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.
Scope: local
bookworm: resolved (fixed in 8:6.6.0.4-3)
bullseye: resolved (fixed in 8:6.6.0.4-3)
forky: resolved (fixed in 8:6.6.0.4-3)
sid: resolved (fixed in 8:6.6.0.4-3)
trixie: resolved (fixed in 8:6.6.0.4-3)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2010-4167 ImageMagick: configuration files read from $CWD may allow arbitrary code execution [fedora-all]
bugzilla·2010-11-15·CVSS 6.9
CVE-2010-4167 [MEDIUM] CVE-2010-4167 ImageMagick: configuration files read from $CWD may allow arbitrary code execution [fedora-all]
CVE-2010-4167 ImageMagick: configuration files read from $CWD may allow arbitrary code execution [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected Fedora
versions.
For comments that are specific to the vulnerability please use bugs filed
against "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please include the bug IDs of the
respective parent bugs filed against the "Security Response" product.
Please mention CVE ids in the RPM changelog when available.
Bodhi update submission link:
https://admin.fedoraproject.org/updates/new/?type_=security&bugs=652860
Pleas
Bugzilla
CVE-2010-4167 ImageMagick: configuration files read from $CWD may allow arbitrary code execution
bugzilla·2010-11-13·CVSS 6.9
CVE-2010-4167 [MEDIUM] CVE-2010-4167 ImageMagick: configuration files read from $CWD may allow arbitrary code execution
CVE-2010-4167 ImageMagick: configuration files read from $CWD may allow arbitrary code execution
A Debian bug report [1] indicated that ImageMagick would load configuration files from the current working directory, rather than just standard directories like ~/.magick/ or /usr/lib/ImageMagick-*/config/. If a user were to run certain ImageMagick programs, like the convert utility, from untrusted directories it could allow for the execution of arbitrary code as the user running the program.
Upstream has corrected [2] this flaw is noted as being fixed in the 6.6.5-5 ChangeLog [3].
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601824
[2] http://trac.imagemagick.org/changeset?new=3022%40ImageMagick%2Ftrunk%2Fmagick%2Fconfigure.c&old=2002%40ImageMagick%2Ftrunk%2Fmagick%2Fconfigure.c
[3]
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601824http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052515.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2010-December/052599.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0544.htmlhttp://secunia.com/advisories/42497http://secunia.com/advisories/42744http://secunia.com/advisories/48100http://secunia.com/advisories/49063http://www.imagemagick.org/script/changelog.phphttp://www.openwall.com/lists/oss-security/2010/11/13/1http://www.openwall.com/lists/oss-security/2010/11/15/3http://www.securityfocus.com/bid/45044http://www.ubuntu.com/usn/USN-1028-1http://www.vupen.com/english/advisories/2010/3150http://www.vupen.com/english/advisories/2010/3322https://bugzilla.redhat.com/show_bug.cgi?id=652860http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=601824http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052515.htmlhttp://lists.fedoraproject.org/pipermail/package-announce/2010-December/052599.htmlhttp://rhn.redhat.com/errata/RHSA-2012-0544.htmlhttp://secunia.com/advisories/42497http://secunia.com/advisories/42744http://secunia.com/advisories/48100http://secunia.com/advisories/49063http://www.imagemagick.org/script/changelog.phphttp://www.openwall.com/lists/oss-security/2010/11/13/1http://www.openwall.com/lists/oss-security/2010/11/15/3http://www.securityfocus.com/bid/45044http://www.ubuntu.com/usn/USN-1028-1http://www.vupen.com/english/advisories/2010/3150http://www.vupen.com/english/advisories/2010/3322https://bugzilla.redhat.com/show_bug.cgi?id=652860
2010-11-22
Published