PHP 5.3.7 crypt() MD5 Incorrect Return Value

high Log Correlation Engine Plugin ID 801098

Synopsis

The remote web server uses a version of PHP that is affected by a security bypass vulnerability.

Description

PHP version 5.3.7 contains a bug in the crypt() function when generating salted MD5 hashes. The function only returns the salt rather than the salt and hash. Any authentication mechanism that uses crypt() could authorize all authentication attempts due to this bug.

Solution

Upgrade to PHP version 5.3.8 or later.

See Also

https://bugs.php.net/bug.php?id=55439

http://.php.net/archive/2011.php#id2011-08-23-1

Plugin Details

Severity: High

ID: 801098

Family: Web Servers

Published: 8/24/2011

Nessus ID: 55969

Vulnerability Information

Patch Publication Date: 8/23/2011

Vulnerability Publication Date: 8/17/2011

Reference Information

BID: 49376