Description
Integer signedness error in emalloc() function for PHP before 4.3.2 allow remote attackers to cause a denial of service (memory consumption) and possibly execute arbitrary code via negative arguments to functions such as (1) socket_recv, (2) socket_recvfrom, and possibly other functions.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 3
- PHP 4.x - 'socket_recv()' Signed Integer Memory Corruption EDB-22425 · dos · Mar 26, 2003 · verified
- PHP 4.x - 'socket_recvfrom()' Signed Integer Memory Corruption EDB-22426 · dos · Mar 26, 2003 · verified
- PHP 4.3 - 'socket_iovec_alloc()' Integer Overflow EDB-22419 · dos · Mar 25, 2003 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20030402 Inaccurate Reports Concerning PHP Vulnerabilities mailing-list
- CLSA-2003:691 vendor-advisory
- 20030327 RE: FUD-ALARM: @(#)Mordred Labs advisory - Integer overflow in PHP memory allocator mailing-list
- 7198 vdb-entry
- 20030326 @(#)Mordred Labs advisory - Integer overflow in PHP memory allocator mailing-list
- 7197 vdb-entry