Secunia Logo Secunia CSI integrated with Microsoft WSUS for 3rd Party Patch Management 


Secunia PSI WorldMap
 
PHP MSSQL Extension NTWDBLIB.DLL "dbopen" Buffer Overflow
Secunia Advisory: SA24353
Release Date: 2007-03-07
Last Update: 2007-03-14
Popularity: 13,464 views

Critical:
Less critical
Impact: Security Bypass
Where: Local system
Solution Status: Unpatched

Software:PHP 4.4.x
PHP 5.2.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
rgod has discovered a vulnerability in PHP's MSSQL Extension, which can be exploited to bypass certain security restrictions.

The vulnerability is caused due to a boundary error when processing arguments within the "dbopen()" function in NTWDBLIB.DLL located in the PHP directory when the MSSQL extension is installed. This can be exploited to cause a stack-based buffer overflow via an overly long (greater than 260 bytes) string passed as argument to e.g. PHP's "mssql_connect()" or "mssql_pconnect()" functions and execute arbitrary code therefore bypassing security restrictions like the "disable_functions" directive.

Successful exploitation requires that the MSSQL extension is installed.

The vulnerability is reported in PHP 4.4.6 and confirmed in the PHP-5.2.1 win32 installer. Other versions may also be affected.

Change Page:
[ 1 ] [ 2 ] [ 3 ]



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. Microsoft DirectShow AVI File Parsing Buffer Overflow Vulnerability // 78 views
2. Microsoft Windows TCP/IP Implementation Vulnerabilities // 68 views
3. Microsoft Internet Explorer Local File Disclosure Vulnerabilities // 47 views
4. Adobe Flash Player Multiple Vulnerabilities // 38 views
5. Microsoft Windows "ShellExecute()" Input Validation Vulnerability // 35 views
6. Microsoft Office PowerPoint Multiple Vulnerabilities // 35 views
7. Microsoft Data Analyzer ActiveX Control Vulnerability // 33 views
8. Microsoft Windows SMB Server Multiple Vulnerabilities // 29 views
9. Microsoft Windows Paint JPEG Parsing Integer Overflow Vulnerability // 25 views
10. JDownloader Click'n'Load 2 Command Execution Vulnerability // 24 views