CVE-2012-2143

Medium

Description

The crypt_des (aka DES-based crypt) function in FreeBSD before 9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does not process the complete cleartext password if this password contains a 0x80 character, which makes it easier for context-dependent attackers to obtain access via an authentication attempt with an initial substring of the intended password, as demonstrated by a Unicode password.

SeverityMedium
CVSS4.3
Exploit probability—
ProductPostgresql
PublishedJul 5, 2012
First seenJul 5, 2012

How to fix

Update
  • postgresql postgresql8.3.19, 8.4.12, 9.0.8, 9.1.4 or later
  • php php5.3.14, 5.4.4 or later

Affected products

ProductAffected versionsFixed in
postgresql postgresql8.3 ≤ v < 8.3.19, 8.4 ≤ v < 8.4.12, 9.0 ≤ v < 9.0.8, 9.1 ≤ v < 9.1.48.3.19, 8.4.12, 9.0.8, 9.1.4
freebsd freebsdv ≤ 9.0, 1.0, 1.1, 1.1.5, 1.1.5.1, 2.0, 2.0.5, 2.1, 2.1.5, 2.1.6, 2.1.7, 2.2, 2.2.1, 2.2.2, 2.2.5, 2.2.6, 2.2.7, 2.2.8, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 4.0, 4.1, 4.1.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.6.2, 4.7, 4.8, 4.9, 4.10, 4.11, 5.0, 5.1, 5.2, 5.2.1, 5.3, 5.4, 5.5, 6.0, 6.1, 6.2, 6.3, 6.4, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3—
php phpv < 5.3.14, 5.4.0 ≤ v < 5.4.45.3.14, 5.4.4
debian debian_linux6.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.