CVE-2012-2317Debian Php5-common
Medium 4.3 No auth needed
Follow: this CVE · Debian · Debian Php5-common We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Aug 7, 2012
- Updated
- Jun 16, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Php5-common.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| debian | php5-common | ≤ 5.3.2-1 |
| debian | php5-common | 5.3.3-7+squeeze4 |
| debian | debian_linux | all |
| canonical | php5 | ≤ 5.3.2-1ubuntu4.16 |
| canonical | php5 | 5.3.2-1ubuntu4.17 |
| canonical | ubuntu_linux | 10.04 |
| canonical | php5 | ≤ 5.3.5-1ubuntu7.9 |
| canonical | php5 | 5.3.5-1ubuntu7.10 |
| canonical | ubuntu_linux | 11.04 |
Official sources
References
Links published by the sources. Open them with care.