CVE-2007-1411

PHP < 4.4.6 - Buffer Overflow via mssql_connect and mssql_pconnect Functions

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-1411. PoCs published by rgod.

AI-analyzed exploit summary This exploit targets a buffer overflow vulnerability in PHP's mssql_connect() and mssql_pconnect() functions (CVE-2007-1411). It uses a crafted payload to overwrite SEH and execute arbitrary shellcode, launching 'notepad.exe' as a proof of concept.

Description

Buffer overflow in PHP 4.4.6 and earlier, and unspecified PHP 5 versions, allows local and possibly remote attackers to execute arbitrary code via long server name arguments to the (1) mssql_connect and (2) mssql_pconnect functions.

Exploits (1)

exploitdb WORKING POC VERIFIED
by rgod · phplocalwindows
https://www.exploit-db.com/exploits/3417

This exploit targets a buffer overflow vulnerability in PHP's mssql_connect() and mssql_pconnect() functions (CVE-2007-1411). It uses a crafted payload to overwrite SEH and execute arbitrary shellcode, launching 'notepad.exe' as a proof of concept.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: PHP <= 4.4.6
No auth needed
Prerequisites: PHP with mssql extension enabled · Windows 2000 SP3 environment
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (7)

Core 7
Core References
Exploit, Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/2407
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/0867
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/24353
Exploit, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/22832
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/462010/100/0/threaded
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/32885

Scores

EPSS 0.0742
EPSS Percentile 93.7%

Details

Status published
Products (1)
php/php < 4.4.6
Published Mar 10, 2007
Tracked Since Feb 18, 2026