#40746 [Asn->WFx]: PHP <= 4.4.6 mssql_connect() & mssql_pconnect() local buffer overflow
ID: 40746
Updated by: jani@php.net
Reported By: youza at post dot cz
-Status: Assigned
+Status: Wont fix
Bug Type: MSSQL related
Operating System: Windows
PHP Version: 4.4.6
Assigned To: fmk
New Comment:
We are sorry, but we can not support PHP 4 related problems anymore.
Momentum is gathering for PHP 6, and we think supporting PHP 4 will
lead to a waste of resources which we want to put into getting PHP 6
ready.
Previous Comments:
------------------------------------------------------------------------
[2007-03-07 17:37:40] fmk@php.net
This is a problem with the dbopen() function in Microsofts ntdblib
library, and not a problem within the PHP extension.
I'll add some length checks to the host parameter for mssql_connect()
and mssql_pconnect() to prevent this from happening.
The problem does not exists in php_dblib.dll (the same extension
compiled with FreeTDS version of the dblib library).
------------------------------------------------------------------------
[2007-03-07 09:45:54] youza at post dot cz
Description:
------------
PHP <= 4.4.6 mssql_connect() & mssql_pconnect() local buffer overflow
and safe_mode bypass
Reproduce code:
---------------
See
http://www.securityfocus.com/archive/1/462010/30/0/threaded
or
original url:
http://retrogod.altervista.org/php_446_mssql_connect_bof.html
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40746&edit=1
Thread (4 messages)