National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2007-4987 Detail

Description

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.

Source:  MITRE
Description Last Modified:  09/24/2007

Impact

CVSS v2.0 Severity and Metrics:

Base Score: 9.3 HIGH
Vector: (AV:N/AC:M/Au:N/C:C/I:C/A:C) (V2 legend)
Impact Subscore: 10.0
Exploitability Subscore: 8.6


Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (AU): None
Confidentiality (C): Complete
Integrity (I): Complete
Availability (A): Complete
Additional Information:
Victim must voluntarily interact with attack mechanism
Provides administrator access
Allows unauthorized disclosure of information
Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (12/05/2007)

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.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://bugs.gentoo.org/show_bug.cgi?id=186030
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=595
http://security.gentoo.org/glsa/glsa-200710-27.xml
http://studio.imagemagick.org/pipermail/magick-announce/2007-September/000037.html
http://www.debian.org/security/2009/dsa-1858
http://www.imagemagick.org/script/changelog.php
http://www.mandriva.com/en/security/advisories?name=MDVSA-2008:035
http://www.novell.com/linux/security/advisories/2007_23_sr.html
http://www.securityfocus.com/archive/1/483572/100/0/threaded
http://www.securityfocus.com/bid/25766 Exploit Patch
http://www.securitytracker.com/id?1018729
http://www.ubuntu.com/usn/usn-523-1
http://www.vupen.com/english/advisories/2007/3245
https://exchange.xforce.ibmcloud.com/vulnerabilities/36739
https://issues.rpath.com/browse/RPL-1743

Technical Details

Vulnerability Type (View All)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:a:imagemagick:imagemagick:5.3.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.3.8:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.4.2.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.4.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.4.4.5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.4.7:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.4.8:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.4.8.2_1.1.0:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.5.3_.2_1.2.0:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.5.4:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.5.6:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.5.6.0_20030409:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.5.7:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:5.5.7.15:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.1:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.2.5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.4:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.4.4:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.6:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.6.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.7:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.0.8:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.1:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.4:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.6:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.7:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.1.8:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.0.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.0.7:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.1:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.3.4:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.4:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.4.3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.4.5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.6:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.7:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.8:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.9:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.2.9.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.3.1:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.3.2:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.3.3_3:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.3.3_5:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.3.3_6:*:*:*:*:*:*:*
cpe:2.3:a:imagemagick:imagemagick:6.3.4:*:*:*:*:*:*:*

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

3 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2007-4987
NVD Published Date:
09/24/2007
NVD Last Modified:
10/15/2018