PHP 5.3.7 crypt() MD5 Incorrect Return Value

High Log Correlation Engine Plugin ID 801098


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


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.


Upgrade to PHP version 5.3.8 or later.

See Also

Plugin Details

Severity: High

ID: 801098

Family: Web Servers

Published: 2011/08/24

Nessus ID: 55969

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Vulnerability Information

Patch Publication Date: 2011/08/23

Vulnerability Publication Date: 2011/08/17

Reference Information

BID: 49376