Back to CVE catalog
CVE-2012-2317

Debian php_crypt_revamped.patch for PHP 5.3.x mishandles empty salt string

Multiple products

At a glance

The 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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityNone
IntegrityPartial
AvailabilityNone

CVSS summary v2.0

4.3Medium
Published:
Updated:
EPSS:
2.456%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Related CWE

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Canonicalphp5Affected versions:
≤ 5.3.2-1ubuntu4.16Show full version range for php5
≤ 5.3.5-1ubuntu7.95.3.2-1ubuntu4.175.3.5-1ubuntu7.10
Vendor:Debianphp5-commonAffected versions:
≤ 5.3.2-1Show full version range for php5-common
5.3.3-7+squeeze4
Vendor:Canonicalubuntu linuxAffected versions:
10.04Show full version range for ubuntu linux
11.04
Vendor:Debiandebian linuxAffected versions:
Range not specifiedShow full version range for debian linux
  • Other versions are affected by default; consult the source for exceptions.

1–4 of 4 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

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

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories8

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences