Secunia Research has discovered three integer overflow vulnerabilities in libgdiplus for Mono, which can be exploited by malicious people to compromise an application using the library. Version 2.6.7 is affected.
ea9c0dd4e0ae6caef818713363a025771127f81ca5d4db62da1b8b3654b2e0ee
======================================================================
Secunia Research 23/08/2010
- Mono libgdiplus Image Processing Three Integer 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
* libgdiplus 2.6.7
NOTE: Other versions may also be affected.
======================================================================
2) Severity
Rating: Moderately critical
Impact: System access
Where: Remote
======================================================================
3) Vendor's Description of Software
"Libgdiplus is the Mono library that provide a GDI+ comptible API on
non-Windows operating systems".
Product Link:
https://www.mono-project.com/Libgdiplus
======================================================================
4) Description of Vulnerability
Secunia Research has discovered three vulnerabilities in libgdiplus
for Mono, which can be exploited by malicious people to compromise an
application using the library.
1) An integer overflow error within the "gdip_load_tiff_image()"
function in src/tiffcodec.c can be exploited to cause a heap-based
buffer overflow by e.g. processing specially crafted TIFF images in
an application using the library.
2) An integer overflow error within the
"gdip_load_jpeg_image_internal()" function in src/jpegcodec.c can be
exploited to cause a heap-based buffer overflow by e.g. processing
specially crafted JPEG images in an application using the library.
3) An integer overflow error within the "gdip_read_bmp_image()"
function in src/bmpcodec.c can be exploited to cause a heap-based
buffer overflow by e.g. processing specially crafted BMP images in an
application using the library.
======================================================================
5) Solution
Do not process untrusted images in an application using the library.
======================================================================
6) Time Table
12/08/2010 - Vendor notified.
12/08/2010 - Vendor response.
19/08/2010 - Accidental public disclosure by an involved party.
23/08/2010 - Public disclosure.
======================================================================
7) Credits
Discovered by Stefan Cornelius, Secunia Research.
======================================================================
8) References
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2010-1526 for the vulnerabilities.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
https://secunia.com/advisories/business_solutions/
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.
https://secunia.com/advisories/
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:
https://secunia.com/secunia_research/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
https://secunia.com/corporate/jobs/
Secunia offers a FREE mailing list called Secunia Security Advisories:
https://secunia.com/advisories/mailing_lists/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
https://secunia.com/secunia_research/2010-102/
Complete list of vulnerability reports published by Secunia Research:
https://secunia.com/secunia_research/
======================================================================