Cryptographic issues in PHP - CVE-2011-2483
Published: April 23, 2024 / Updated: June 8, 2025
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
crypt_blowfish before 1.1, as used in PHP before 5.3.7 on certain platforms, PostgreSQL before 8.4.9, and other products, does not properly handle 8-bit characters, which makes it easier for context-dependent attackers to determine a cleartext password by leveraging knowledge of a password hash.
Affected software
Gentoo Linux
Ubuntu
Slackware Linux
php5-cgi (Ubuntu package)
php5-cli (Ubuntu package)
php5-common (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
postgresql-8.3 (Ubuntu package)
postgresql-8.4 (Ubuntu package)
dev-lang/php
dev-db/postgresql
dev-db/postgresql-server
php
How to mitigate CVE-2011-2483
php5-cgi (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.18, 5.3.2-1ubuntu4.10, 5.3.3-1ubuntu9.6, 5.3.5-1ubuntu7.3, 5.3.6-13ubuntu3.2
php5-cli (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.18, 5.3.2-1ubuntu4.10, 5.3.3-1ubuntu9.6, 5.3.5-1ubuntu7.3, 5.3.6-13ubuntu3.2
php5-common (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.18, 5.3.2-1ubuntu4.10, 5.3.3-1ubuntu9.6, 5.3.5-1ubuntu7.3, 5.3.6-13ubuntu3.2
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.18, 5.3.2-1ubuntu4.10, 5.3.3-1ubuntu9.6, 5.3.5-1ubuntu7.3, 5.3.6-13ubuntu3.2
postgresql-8.3 (Ubuntu package) - update to 8.3.16-0ubuntu0.8.04
postgresql-8.4 (Ubuntu package) - addressed in versions 8.4.9-0ubuntu0.10.04, 8.4.9-0ubuntu0.10.10, 8.4.9-0ubuntu0.11.04
dev-lang/php - update to 5.3.8
dev-db/postgresql - update to 9.0.5
dev-db/postgresql-server - update to 9.0.5
php - update to 5.3.8
External References
- http://www.openwall.com/crypt/
- http://www.php.net/archive/2011.php#id2011-08-18-1
- http://www.securityfocus.com/bid/49241
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://php.net/security/crypt_blowfish
- http://freshmeat.net/projects/crypt_blowfish
- http://www.redhat.com/support/errata/RHSA-2011-1378.html
- http://www.postgresql.org/docs/8.4/static/release-8-4-9.html
- http://www.redhat.com/support/errata/RHSA-2011-1377.html
- http://lists.opensuse.org/opensuse-security-announce/2011-08/msg00015.html
- http://www.ubuntu.com/usn/USN-1229-1
- http://www.redhat.com/support/errata/RHSA-2011-1423.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:165
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:180
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:179
- http://www.mandriva.com/security/advisories?name=MDVSA-2011:178
- http://www.debian.org/security/2011/dsa-2340
- http://support.apple.com/kb/HT5130
- http://lists.apple.com/archives/security-announce/2012/Feb/msg00000.html
- http://www.debian.org/security/2012/dsa-2399
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- https://exchange.xforce.ibmcloud.com/vulnerabilities/69319