imlib2 Stack Overflow in Processing PNM and XPM Images Lets Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1020146 |
|
SecurityTracker URL: http://securitytracker.com/id/1020146
|
|
CVE Reference:
CVE-2008-2426
(Links to External Site)
|
Date: May 29 2008
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 1.4.0; possibly other versions
|
Description:
A vulnerability was reported in imlib2. A remote user can cause arbitrary code to be executed on the target user's system.
A remote user can create a specially crafted PNM or XPM image file that, when processed by the target application that uses imlib2, will trigger a stack overflow and execute arbitrary code on the target system. The code will run with the privileges of the target application.
The vulnerability resides in the load() function in 'src/modules/loaders/loader_pnm.c' and the load() function in 'src/modules/loader_xpm.c'.
The vendor was notified on May 27, 2008.
Stefan Cornelius of Secunia Research reported this vulnerability.
|
Impact:
A remote user can create a file that, when processed by the target application, will execute arbitrary code on the target system.
|
Solution:
The vendor has issued a fix, available at:
http://sourceforge.net/project/showfiles.php?group_id=2
|
Vendor URL: sourceforge.net/project/showfiles.php?group_id=2 (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Any), UNIX (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Thu, 29 May 2008 13:16:44 +0200
Subject: [Full-disclosure] Secunia Research: imlib2 PNM and XPM Buffer
|
======================================================================
Secunia Research 29/05/2008
- imlib2 PNM and XPM Buffer Overflows -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10
======================================================================
1) Affected Software
* imlib2 1.4.0
NOTE: Other versions may also be affected.
======================================================================
2) Severity
Rating: Highly critical
Impact: System access
Where: Remote
======================================================================
3) Vendor's Description of Software
"Imlib 2 is the successor to Imlib. It is NOT a newer version -- it
is a completely new library. Imlib 2 can be installed alongside
Imlib 1.x without any problems since they are effectively different
libraries which have very similar functionality."
Product Link:
http://enlightenment.org
======================================================================
4) Description of Vulnerability
Secunia Research has discovered two vulnerabilities in imlib2, which
can be exploited by malicious people to cause a DoS (Denial of
Service) or compromise an application using the library.
1) A boundary error exists within the "load()" function in
src/modules/loaders/loader_pnm.c when processing the header of a
PNM image file. This can be exploited to cause a stack-based buffer
overflow by e.g. tricking a user into opening a specially crafted
PNM image in an application using the imlib2 library.
Successful exploitation allows execution of arbitrary code.
2) A boundary error exists within the "load()" function in
src/modules/loader_xpm.c when processing an XPM image file. This can
be exploited to cause a stack-based buffer overflow by e.g. tricking
a user into opening a specially crafted XPM image with an application
using the imlib2 library.
Successful exploitation may allow execution of arbitrary code.
======================================================================
5) Solution
Fixed in the CVS repository.
======================================================================
6) Time Table
27/05/2008 - Vendor notified.
27/05/2008 - Vendor response.
29/05/2008 - Public disclosure.
======================================================================
7) Credits
Discovered by Stefan Cornelius, Secunia Research.
======================================================================
8) References
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2008-2426 for these vulnerabilities.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
http://corporate.secunia.com/
Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private
individuals, who are interested in or concerned about IT-security.
http://secunia.com/
Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the
security and reliability of software in general:
http://corporate.secunia.com/secunia_research/33/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
http://secunia.com/secunia_vacancies/
Secunia offers a FREE mailing list called Secunia Security Advisories:
http://secunia.com/secunia_security_advisories/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2008-25/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
======================================================================
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
|
|