BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2012-2143

MEDIUM 4.3 CVSS 2.0
Published
July 5, 2012
Last modified
June 16, 2026
NVD status
Modified
Reported by
secalert@redhat.com
Weakness
CWE-310
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N

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.

Affected products and versions

  • PHP — Before 5.3.14
  • PHP — From 5.4.0 (including) to 5.4.4 (excluding)

References

  • git.php.net http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=aab49e934de1fff046e659cbec46e3d053b41c34 Broken Link, Patch
  • git.postgresql.org http://git.postgresql.org/gitweb/?p=postgresql.git&a=commit&h=932ded2ed51e8333852e370c7a6dad75d9f236f9 Vendor Advisory
  • kb.juniper.net http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 Third Party Advisory
  • lists.apple.com http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html Mailing List, Third Party Advisory
  • lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082258.html Mailing List, Third Party Advisory
  • lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082292.html Mailing List, Third Party Advisory
  • lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082294.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2012-09/msg00102.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2012-10/msg00013.html Mailing List, Third Party Advisory
  • lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2012-10/msg00024.html Mailing List, Third Party Advisory
  • rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2012-1037.html Third Party Advisory
  • secunia.com http://secunia.com/advisories/49304 Broken Link, Vendor Advisory
  • secunia.com http://secunia.com/advisories/50718 Broken Link, Vendor Advisory
  • security.freebsd.org http://security.freebsd.org/advisories/FreeBSD-SA-12:02.crypt.asc Vendor Advisory
  • support.apple.com http://support.apple.com/kb/HT5501 Third Party Advisory
  • www.debian.org http://www.debian.org/security/2012/dsa-2491 Third Party Advisory
  • www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2012:092 Broken Link
  • www.postgresql.org http://www.postgresql.org/docs/8.3/static/release-8-3-19.html Vendor Advisory
  • www.postgresql.org http://www.postgresql.org/docs/8.4/static/release-8-4-12.html Vendor Advisory
  • www.postgresql.org http://www.postgresql.org/docs/9.0/static/release-9-0-8.html Vendor Advisory
  • www.postgresql.org http://www.postgresql.org/docs/9.1/static/release-9-1-4.html Vendor Advisory
  • www.postgresql.org http://www.postgresql.org/support/security/ Vendor Advisory
  • www.securitytracker.com http://www.securitytracker.com/id?1026995 Third Party Advisory, VDB Entry
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=816956 Issue Tracking, Third Party Advisory
  • nvd.nist.gov Official NVD record