ImageMagick filename command injection
| imagemagick-filename-command-injection (23927) |
Description:
ImageMagick could allow a remote attacker to execute arbitrary commands on the system, caused by a vulnerability in the delegate code. A remote attacker could send a specially-crafted image file with a filename containing shell commands that would be executed on the victim's system when opened with the command line or the file open dialog box.
*CVSS:
| Base Score: | 5.6 |
| Access Vector: | Remote |
| Access Complexity: | High |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 4.1 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Access
Remedy:
For Debian GNU/Linux:
Refer to DSA-957-2 for patch, upgrade, or suggested workaround information. See References.
For Red Hat Linux:
Refer to RHSA-2006:0178-4 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to USN-246-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- Debian Bug report logs - #345238: [CVE-2005-4601] Shell command injection in delegate code (via file names).
- ImageMagick Web site: Introduction to ImageMagick.
- ASA-2006-048: ImageMagick security update (RHSA-2006-0178)
- ASA-2008-055: Security Vulnerabilities in ImageMagick May Lead to Arbitrary Code Execution or Denial of Service (DoS) (Sun 231321)
- BID-16093: ImageMagick Image Filename Remote Command Execution Vulnerability
- CVE-2005-4601: The delegate code in ImageMagick 6.2.4.5-0.3 allows remote attackers to execute arbitrary commands via shell metacharacters in a filename that is processed by the display command.
- DSA-957: imagemagick -- missing shell meta sanitising
- MDKSA-2006:024: Updated ImageMagick packages fix vulnerabilities
- OSVDB ID: 22121: ImageMagick Delegate Code Multiple Utility Crafted File Name Arbitrary Shell Command Injection
- RHSA-2006-0178: ImageMagick security update
- SA18261: ImageMagick Utilities Image Filename Handling Two Vulnerabilities
- SA28800: Sun Solaris ImageMagick Multiple Vulnerabilities
- SUSE-SR:2006:006: SUSE Security Summary Report
- USN-246-1: imagemagick vulnerabilities
- VUPEN/ADV-2008-0412: Sun Solaris Security Update Fixes ImageMagick Multiple Vulnerabilities
Platforms Affected:
- Canonical Ubuntu 4.10
- Canonical Ubuntu 5.04
- Canonical Ubuntu 5.10
- Debian Debian Linux 3.0
- Debian Debian Linux 3.1
- ImageMagick ImageMagick 6.2.5
- MandrakeSoft Mandrake Linux 2006
- MandrakeSoft Mandrake Linux 2006 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- Novell Linux Desktop 9
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 ES
- RedHat Linux Advanced Workstation 2.1 Itanium
- Sun Solaris 10 x86
- Sun Solaris 10 SPARC
- Sun Solaris 9 SPARC
- Sun Solaris 9 x86
- SuSE Linux Enterprise Server 8
- SuSE SuSE Linux Desktop 1.0
- SuSE SuSE SLES 9
Reported:
Dec 30, 2005
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
