|
======================================================================
Secunia Research 29/11/2006
- Borland Products idsql32.dll Buffer Overflow Vulnerability -
======================================================================
Table of Contents
Affected Software....................................................1
Severity.............................................................2
Description of Vulnerability.........................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Secunia........................................................8
Verification.........................................................9
======================================================================
1) Affected Software
Borland idsql32.dll versions 5.1.0.4 (as used by RevilloC MailServer)
and 5.2.0.2 as included with Borland Developer Studio 2006.
NOTE: Other versions may also be affected. Furthermore, any
application using the vulnerable library and passing (partially)
user-controlled arguments to the affected function may also be
vulnerable.
======================================================================
2) Severity
Rating: Moderately critical
Impact: System Access
Where: From Remote
======================================================================
3) Description of Vulnerability
Secunia Research has discovered a vulnerability in Borland products,
which can be exploited by malicious people to compromise a vulnerable
system.
The vulnerability is caused due to a boundary error in idsql32.dll
when processing SQL statements using the "DbiQExec()" function. This
can be exploited to cause a heap-based buffer overflow via an overly
long SQL statement (more than 4000 bytes).
======================================================================
4) Solution
Restrict access to applications and services using the vulnerable
library.
Applications using the vulnerable function should check the length
of the user input before creating an SQL statement and using it in a
query.
======================================================================
5) Time Table
15/11/2006 - Vendor notified.
27/11/2006 - Vendor reminder sent.
29/11/2006 - Public disclosure.
======================================================================
6) Credits
Discovered by JJ Reyes, Secunia Research.
======================================================================
7) References
SA22559:
http://secunia.com/advisories/22559
======================================================================
8) 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/
======================================================================
9) Verification
Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2006-70/
Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/
=====================================================================