Menu

Star on GitHub · 3.2k

CVE-2012-2143

4.3 · MEDIUM

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 cont…

Published Jul 5, 2012postgresqlCWE-310EPSS 5.73%

Overview

CVE-2012-2143 is a medium-severity vulnerability affecting postgresql postgresql. It was published on July 5, 2012 and has a CVSS 2.0 base score of 4.3 (MEDIUM).

This vulnerability has a CVSS 2.0 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from postgresql. Update postgresql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected products

VendorProductVersionsStatus
postgresqlpostgresql>= 8.3, < 8.3.19Affected
freebsdfreebsd0Affected
phpphp>= 0, < 5.3.14Affected

Frequently asked questions

What is CVE-2012-2143?

CVE-2012-2143 is a medium-severity vulnerability affecting postgresql postgresql. It was published on July 5, 2012 and has a CVSS 2.0 base score of 4.3 (MEDIUM).

How severe is CVE-2012-2143?

This vulnerability has a CVSS 2.0 base score of 4.3, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2012-2143?

Check the references section for vendor advisories and patches from postgresql. Update postgresql to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2012-2143?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2012-2143 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2012

View all