Secunia Logo
Netsikker nu! 2008
 
Gimp Loader Plugins Integer Overflow Vulnerabilities
Secunia Advisory: SA25677
Release Date: 2007-07-03
Last Update: 2007-08-16
Popularity: 8,789 views

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

Software:GIMP 1.x
GIMP 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-4519
CVE-2007-2949


Description:
Some vulnerabilities have been reported in Gimp, which can be exploited by malicious people to compromise a user's system.

1) An integer overflow exists within the function "seek_to_and_unpack_pixeldata()" in plug-ins/common/psd.c. This can be exploited to cause a heap-based buffer overflow by tricking a user into opening a specially crafted PSD file with large width or height values.

2) Multiple integer overflows exist within the DICOM, PNM, PSD, PSP, Sun RAS, XBM, and XWD loader plugins. These can potentially be exploited to cause a heap-based buffer overflow by tricking a user into opening specially crafted image files.

Successful exploitation may allow execution of arbitrary code.

Vulnerability #1 is confirmed and vulnerability #2 is reported in version 2.2.15. Other versions may also be affected.

Note: Additionally, Victor Stinner has reported multiple crashes and problems within the BMP, PCX, PSD, and PSP loader plugins, of which some may have a security impact.

Solution:
Update to version 2.2.17.

Provided and/or discovered by:
1) Stefan Cornelius, Secunia Research.
2) Sean Larsson, iDefense Labs

Changelog:
2007-07-09: Updated "Solution" section. Added vulnerability #2.
2007-07-10: Added CVE reference and link to iDefense Labs advisory.
2007-07-17: Updated "Solution" section due to a regression within the previous release.
2007-08-16: Added link to US-CERT.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2007-63/

iDefense Labs:
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=551

gimp.org:
http://developer.gimp.org/NEWS-2.2
http://bugzilla.gnome.org/show_bug.cgi?id=453973
http://bugzilla.gnome.org/show_bug.cgi?id=451379

Other References:
US-CERT VU#399896:
http://www.kb.cert.org/vuls/id/399896


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

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 50 views
Debian update for PHP
Moderately // 77 views
Atarone CMS Multiple Vulnerabilities
Moderately // 125 views
Debian update for squid
Less // 130 views
SUSE update for mercurial
Moderately // 154 views
SUSE update for openssh
Less // 128 views
Fedora update for mediawiki

Solutions | More...  


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. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 103 views
2. MetaGauge Directory Traversal Vulnerability // 87 views
3. Debian update for squid // 71 views
4. CMME Information Disclosure Security Issues // 68 views
5. Atarone CMS Multiple Vulnerabilities // 68 views
6. SUSE update for openssh // 64 views
7. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 63 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 56 views
9. SUSE update for mercurial // 55 views
10. IBM Lotus Quickr Security Issues and Denial of Service // 42 views