Secunia Logo
Netsikker nu! 2008
 
Borland Products idsql32.dll Buffer Overflow Vulnerability
Secunia Advisory: SA22570
Release Date: 2006-11-29
Last Update: 2006-12-04
Popularity: 6,496 views

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

Software:Borland C# Builder 2006
Borland C++ Builder 2006
Borland C++ Builder 5.x
Borland C++Builder 6.x
Borland Delphi 2006
Borland Delphi 5.x
Borland Delphi 6.x
Borland Delphi 7.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6201


Description:
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).

Successful exploitation may allow execution of arbitrary code.

The vulnerability is confirmed in idsql32.dll versions 5.1.0.4 and 5.2.0.2. Other versions may also be affected. Also, any application or service using the vulnerable library may also be affected.

Solution:
Restrict access to applications and services using the vulnerable library.

Applications using the vulnerable library should check the length of the user input before creating an SQL statement and using it in a query.

Provided and/or discovered by:
JJ Reyes, Secunia Research

Changelog:
2006-12-04: Added CVE reference.

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2006-70

Reason for Rating:
The "Reason for Rating" section is available for Secunia customers only. Request a trial and get access to the Secunia Customer Area and Extended Secunia advisories.


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

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. phpBB Avatar Functions Information Disclosure and Deletion // 36 views
2. V-webmail "CONFIG[pear_dir]" File Inclusion Vulnerability // 35 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 32 views
4. CA ARCserve Backup Multiple Vulnerabilities // 27 views
5. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 27 views
6. phpBB Avatar Script Insertion Vulnerability // 25 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 21 views
8. Red Hat update for cups // 20 views
9. CUPS Multiple Vulnerabilities // 19 views
10. FUJITSU Interstage Products Apache Tomcat Security Bypass // 19 views