#VU43910 Cryptographic issues in PHP Group products - CVE-2012-2143 

 

#VU43910 Cryptographic issues in PHP Group products - CVE-2012-2143

Published: July 5, 2012 / Updated: November 23, 2020


Vulnerability identifier: #VU43910
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-2143
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
PostgreSQL
FreeBSD
PHP
Software vendor:
PostgreSQL Global Development Group
FreeBSD Foundation
PHP Group

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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. As per: http://git.php.net/?p=php-src.git;a=commitdiff;h=aab49e934de1fff046e659cbec46e3d053b41c34 and http://git.php.net/?p=php-src.git;a=commitdiff_plain;h=aab49e934de1fff046e659cbec46e3d053b41c34 PHP 5.3.13 and earlier are vulnerable.


Remediation

Install update from vendor's website.

External links