CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2007-4987

Off-by-one error in the ReadBlobString function in blob.c in ImageMagick before 6.3.5-9 allows context-dependent attackers to execute arbitrary code via a crafted image file, which triggers the writing of a '\0' character to an out-of-bounds address.
Publish Date : 2007-09-24 Last Update Date : 2009-08-15
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
9.3
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Execute Code
CWE ID 189

- Vendor Statements

Note: As the address of the overwritten byte is not under attacker’s control, the worst impact his bug could have is an application crash. It can not be exploited to execute arbitrary code.
Source: Redhat

- Related OVAL Definitions

Title Definition Id Class Family
CVE-2007-4987 oval:org.opensuse.security:def:20074987 unix
DSA-1858 imagemagick -- multiple vulnerabilities oval:org.mitre.oval:def:8206 unix
DSA-1858-1 imagemagick -- multiple oval:org.mitre.oval:def:13308 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2007-4987

# Product Type Vendor Product Version Update Edition Language
1 Application Imagemagick Imagemagick 5.3.3 Version Details Vulnerabilities
2 Application Imagemagick Imagemagick 5.3.8 Version Details Vulnerabilities
3 Application Imagemagick Imagemagick 5.4.2.3 Version Details Vulnerabilities
4 Application Imagemagick Imagemagick 5.4.3 Version Details Vulnerabilities
5 Application Imagemagick Imagemagick 5.4.4.5 Version Details Vulnerabilities
6 Application Imagemagick Imagemagick 5.4.7 Version Details Vulnerabilities
7 Application Imagemagick Imagemagick 5.4.8 Version Details Vulnerabilities
8 Application Imagemagick Imagemagick 5.4.8.2 1.1.0 Version Details Vulnerabilities
9 Application Imagemagick Imagemagick 5.5.3 .2 1.2.0 Version Details Vulnerabilities
10 Application Imagemagick Imagemagick 5.5.4 Version Details Vulnerabilities
11 Application Imagemagick Imagemagick 5.5.6 Version Details Vulnerabilities
12 Application Imagemagick Imagemagick 5.5.6.0 20030409 Version Details Vulnerabilities
13 Application Imagemagick Imagemagick 5.5.7 Version Details Vulnerabilities
14 Application Imagemagick Imagemagick 5.5.7.15 Version Details Vulnerabilities
15 Application Imagemagick Imagemagick 6.0 Version Details Vulnerabilities
16 Application Imagemagick Imagemagick 6.0.1 Version Details Vulnerabilities
17 Application Imagemagick Imagemagick 6.0.2 Version Details Vulnerabilities
18 Application Imagemagick Imagemagick 6.0.2.5 Version Details Vulnerabilities
19 Application Imagemagick Imagemagick 6.0.3 Version Details Vulnerabilities
20 Application Imagemagick Imagemagick 6.0.4 Version Details Vulnerabilities
21 Application Imagemagick Imagemagick 6.0.4.4 Version Details Vulnerabilities
22 Application Imagemagick Imagemagick 6.0.5 Version Details Vulnerabilities
23 Application Imagemagick Imagemagick 6.0.6 Version Details Vulnerabilities
24 Application Imagemagick Imagemagick 6.0.6.2 Version Details Vulnerabilities
25 Application Imagemagick Imagemagick 6.0.7 Version Details Vulnerabilities
26 Application Imagemagick Imagemagick 6.0.8 Version Details Vulnerabilities
27 Application Imagemagick Imagemagick 6.1 Version Details Vulnerabilities
28 Application Imagemagick Imagemagick 6.1.1 Version Details Vulnerabilities
29 Application Imagemagick Imagemagick 6.1.2 Version Details Vulnerabilities
30 Application Imagemagick Imagemagick 6.1.3 Version Details Vulnerabilities
31 Application Imagemagick Imagemagick 6.1.4 Version Details Vulnerabilities
32 Application Imagemagick Imagemagick 6.1.5 Version Details Vulnerabilities
33 Application Imagemagick Imagemagick 6.1.6 Version Details Vulnerabilities
34 Application Imagemagick Imagemagick 6.1.7 Version Details Vulnerabilities
35 Application Imagemagick Imagemagick 6.1.8 Version Details Vulnerabilities
36 Application Imagemagick Imagemagick 6.2 Version Details Vulnerabilities
37 Application Imagemagick Imagemagick 6.2.0.3 Version Details Vulnerabilities
38 Application Imagemagick Imagemagick 6.2.0.7 Version Details Vulnerabilities
39 Application Imagemagick Imagemagick 6.2.1 Version Details Vulnerabilities
40 Application Imagemagick Imagemagick 6.2.2 Version Details Vulnerabilities
41 Application Imagemagick Imagemagick 6.2.3 Version Details Vulnerabilities
42 Application Imagemagick Imagemagick 6.2.3.4 Version Details Vulnerabilities
43 Application Imagemagick Imagemagick 6.2.4 Version Details Vulnerabilities
44 Application Imagemagick Imagemagick 6.2.4.3 Version Details Vulnerabilities
45 Application Imagemagick Imagemagick 6.2.4.5 Version Details Vulnerabilities
46 Application Imagemagick Imagemagick 6.2.5 Version Details Vulnerabilities
47 Application Imagemagick Imagemagick 6.2.6 Version Details Vulnerabilities
48 Application Imagemagick Imagemagick 6.2.7 Version Details Vulnerabilities
49 Application Imagemagick Imagemagick 6.2.8 Version Details Vulnerabilities
50 Application Imagemagick Imagemagick 6.2.9 Version Details Vulnerabilities
51 Application Imagemagick Imagemagick 6.2.9.2 Version Details Vulnerabilities
52 Application Imagemagick Imagemagick 6.3.1 Version Details Vulnerabilities
53 Application Imagemagick Imagemagick 6.3.2 Version Details Vulnerabilities
54 Application Imagemagick Imagemagick 6.3.3 6 Version Details Vulnerabilities
55 Application Imagemagick Imagemagick 6.3.3 5 Version Details Vulnerabilities
56 Application Imagemagick Imagemagick 6.3.3 3 Version Details Vulnerabilities
57 Application Imagemagick Imagemagick 6.3.4 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Imagemagick Imagemagick 57

- References For CVE-2007-4987

http://secunia.com/advisories/27364
SECUNIA 27364
http://secunia.com/advisories/27439
SECUNIA 27439
http://security.gentoo.org/glsa/glsa-200710-27.xml
GENTOO GLSA-200710-27
http://secunia.com/advisories/28721
SECUNIA 28721
http://www.frsirt.com/english/advisories/2007/3245
VUPEN ADV-2007-3245
http://www.imagemagick.org/script/changelog.php CONFIRM
http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:035
MANDRIVA MDVSA-2008:035
http://www.novell.com/linux/security/advisories/2007_23_sr.html
SUSE SUSE-SR:2007:023
http://www.securityfocus.com/archive/1/archive/1/483572/100/0/threaded
BUGTRAQ 20071112 FLEA-2007-0066-1 ImageMagick
http://www.securitytracker.com/id?1018729
SECTRACK 1018729
http://www.ubuntu.com/usn/usn-523-1
UBUNTU USN-523-1
http://xforce.iss.net/xforce/xfdb/36739
XF imagemagick-readblogstring-bo(36739)
https://issues.rpath.com/browse/RPL-1743 CONFIRM
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=595
IDEFENSE 20070919 Multiple Vendor ImageMagick Off-By-One Vulnerability
http://secunia.com/advisories/36260
SECUNIA 36260
http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html
MLIST [Magick-announce] 20070917 ImageMagick 6.3.5-9, important security updates
http://www.securityfocus.com/bid/25766
BID 25766 ImageMagick Blob.C Off-By-One Buffer Overflow Vulnerability Release Date:2013-03-05
http://www.debian.org/security/2009/dsa-1858
DEBIAN DSA-1858
http://secunia.com/advisories/27309
SECUNIA 27309
http://secunia.com/advisories/27048
SECUNIA 27048
http://secunia.com/advisories/26926
SECUNIA 26926
http://bugs.gentoo.org/show_bug.cgi?id=186030 CONFIRM

- Metasploit Modules Related To CVE-2007-4987

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.