Secunia Research: ksquirrel-libs Radiance RGBE Buffer Overflows
======================================================================
Secunia Research 25/02/2009
- ksquirrel-libs Radiance RGBE 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
* ksquirrel-libs 0.8.0.
NOTE: Other versions may also be affected.
======================================================================
2) Severity
Rating: Moderately critical
Impact: System access
Where: From remote
======================================================================
3) Vendor's Description of Software
"ksquirrel-libs is a set of image codecs for KSquirrel. It is written
on pure C++, so you can simply use it in any other project. At this
time ksquirrel-libs supports 57 image formats.".
Product Link:
http://ksquirrel.sourceforge.net/subprojects.php
======================================================================
4) Description of Vulnerability
Secunia Research has discovered some buffer overflows ksquirrel-libs,
which can be exploited by malicious people to compromise an
application using the library.
The vulnerabilities are caused due to boundary errors within the
"mt_codec::getHdrHead()" function in kernel/kls_hdr/fmt_codec_hdr.cpp,
which can be exploited to cause stack-based buffer overflows by e.g.
tricking a user into opening a specially crafted Radiance RGBE
(*.hdr) file.
======================================================================
5) Solution
Do not open untrusted Radiance RGBE images in an application using
ksquirrel-libs.
======================================================================
6) Time Table
09/01/2009 - Vendor notified.
04/02/2009 - Requested status update from vendor.
25/02/2009 - Public disclosure.
======================================================================
7) Credits
Discovered by Stefan Cornelius, Secunia Research.
======================================================================
8) References
The Common Vulnerabilities and Exposures (CVE) project has assigned
CVE-2008-5263 for the vulnerability.
======================================================================
9) About Secunia
Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:
http://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.
http://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:
http://secunia.com/secunia_research/
Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:
http://secunia.com/corporate/jobs/
Secunia offers a FREE mailing list called Secunia Security Advisories:
http://secunia.com/advisories/mailing_lists/
======================================================================
10) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2008-63/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
======================================================================