ImageMagick Multiple Vulnerabilities
Secunia Advisory: SA26926
Release Date: 2007-09-24
Last Update: 2007-09-26
Popularity: 6,205 views

Critical:
Highly critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:ImageMagick 5.x
ImageMagick 6.x

Binary Analysis: BA237 :: Available for Credits
BA235 :: Available for Credits
BA243 :: Available for Credits
BA273 :: Available for Credits

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-4986
CVE-2007-4987
CVE-2007-4988
CVE-2007-4985


Description:
Some vulnerabilities have been reported in ImageMagick, which can be exploited by malicious people to conduct DoS (Denial of Service) attacks or compromise a user's system.

1) Some integer overflow errors exist within the "AllocateImageColormap()", "ReadDCMImage()", "ReadDIBImage()", and "ReadXBMImage()" functions when processing image files. These can be exploited to cause heap-based buffer overflows via specially crafted image files.

2) An off-by-one error exists within the "ReadBlobString()" function in magick/blob.c when processing image files. This can be exploited to cause a one-byte buffer overflow via a specially crafted image file.

3) A sign extension error exists within the "ReadDIBImage()" function when processing image files. This can be exploited to cause a heap-based buffer overflow when processing specially crafted DIB files.

Successful exploitation of the vulnerabilities allows execution of arbitrary code.

4) Some errors within the "ReadDCMImage()" and "ReadXCFImage()" functions can be exploited to cause the execution of infinite loops via specially crafted DCM or XCF files.

The vulnerabilities are reported in versions prior to 6.3.5-9.

Solution:
Update to version 6.3.5-9.
http://www.imagemagick.org/script/download.php

Provided and/or discovered by:
Discovered by regenrecht and reported via iDefense.

Changelog:
2007-09-26: Added CVE reference.

Original Advisory:
ImageMagick:
http://studio.imagemagick.org/piperma...k-announce/2007-September/000037.html
http://www.imagemagick.org/script/changelog.php

iDefense:
1) http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=594
2) http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=595
3) http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=597
4) http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=596


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. PHP Multiple Vulnerabilities // 21 views
2. Microsoft Office Two Code Execution Vulnerabilities // 21 views
3. Microsoft Word Malformed Object Pointer Vulnerability // 21 views
4. Drupal Content Construction Kit Script Insertion Vulnerabilities // 15 views
5. PHP "gdPngReadData()" Truncated PNG Data Denial of Service // 14 views
6. phpBB Cross Site Scripting and Unspecified Vulnerabilities // 13 views
7. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 13 views
8. XASTIR Insecure Temporary Files // 11 views
9. Netgear WN802T Wireless Access Point Two Vulnerabilities // 11 views
10. Fedora update for xastir // 11 views