CVE-2012-2317

Summary

CVECVE-2012-2317
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-08-07 19:55:01 UTC
Updated2026-04-29 01:13:23 UTC
DescriptionThe Debian php_crypt_revamped.patch patch for PHP 5.3.x, as used in the php5 package before 5.3.3-7+squeeze4 in Debian GNU/Linux squeeze, the php5 package before 5.3.2-1ubuntu4.17 in Ubuntu 10.04 LTS, and the php5 package before 5.3.5-1ubuntu7.10 in Ubuntu 11.04, does not properly handle an empty salt string, which might allow remote attackers to bypass authentication by leveraging an application that relies on the PHP crypt function to choose a salt for password hashing.

Risk And Classification

Primary CVSS: v2.0 4.3 from [email protected]

AV:N/AC:M/Au:N/C:N/I:P/A:N

Problem Types: CWE-310 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
None

AV:N/AC:M/Au:N/C:N/I:P/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Canonical Php5 5.3.2-1ubuntu4.17 All All All
Application Canonical Php5 5.3.5-1ubuntu7.10 All All All
Application Canonical Php5 All All All All
Application Canonical Php5 All All All All
Operating System Canonical Ubuntu Linux 10.04 - lts All
Operating System Canonical Ubuntu Linux 11.04 All All All
Operating System Debian Debian Linux All All All All
Application Debian Php5-common 5.3.3-7\+squeeze4 All All All
Application Debian Php5-common All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
#581170 - php5 crypt() does not complete with emtpy salt - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org
oss-security - Re: Debian/Ubuntu php_crypt_revamped.patch af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
oss-security - Debian/Ubuntu php_crypt_revamped.patch af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
USN-1481-1: PHP vulnerabilities | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report