CVE-2011-2483: Medium severity PHP PHP vulnerability

Published Jun 21, 2011
·
Updated

A flaw in John the Ripper and cryptblowfish was reported [1],[2],[3] where passwords with 8-bit characters were mishandled. A password containing a single character with the 8th bit set have 1 to 3 characters immediately preceding the 8-bit character ignored (approximately 3 in 16 passwords). With more than one 8-bit character in the password, there may be more ignored characters. This can result in passwords being even easier to crack than expected. This is due to a char signedness bug in cryptblowfish.

Other programs, such as PHP Suhosin, PHP 5.3.x, and PostgreSQL's pgcrypt module, contain the vulnerable cryptblowfish code.

A fix for this flaw [4], as well as 8-bit tests [5] and a self-test at runtime [6] have been committed upstream.

[1] http://www.openwall.com/lists/oss-security/2011/06/20/2 [2] http://www.openwall.com/lists/john-dev/2011/06/20/3 [3] http://www.openwall.com/lists/john-dev/2011/06/20/5 [4] http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/glibc/cryptblowfish/cryptblowfish.c.diff?r1=1.9;r2=1.10 [5] http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/glibc/cryptblowfish/wrapper.c.diff?r1=1.9;r2=1.10 [6] http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/glibc/cryptblowfish/cryptblowfish.c.diff?r1=1.10;r2=1.11

Other sources

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

— MITRE

Affected Software

122 affected componentsFixes available
PHP PHP<=5.3.6
PHP PHP=1.0
PHP PHP=2.0
PHP PHP=2.0b10
PHP PHP=3.0
PHP PHP=3.0.1
PHP PHP=3.0.2
PHP PHP=3.0.3
PHP PHP=3.0.4
PHP PHP=3.0.5
PHP PHP=3.0.6
PHP PHP=3.0.7
PHP PHP=3.0.8
PHP PHP=3.0.9
PHP PHP=3.0.10
PHP PHP=3.0.11
PHP PHP=3.0.12
PHP PHP=3.0.13
PHP PHP=3.0.14
PHP PHP=3.0.15
PHP PHP=3.0.16
PHP PHP=3.0.17
PHP PHP=3.0.18
PHP PHP=4.0-beta_4_patch1
PHP PHP=4.0-beta1
PHP PHP=4.0-beta2
PHP PHP=4.0-beta3
PHP PHP=4.0-beta4
PHP PHP=4.0.0
PHP PHP=4.0.1
PHP PHP=4.0.2
PHP PHP=4.0.3
PHP PHP=4.0.4
PHP PHP=4.0.5
PHP PHP=4.0.6
PHP PHP=4.0.7
PHP PHP=4.1.0
PHP PHP=4.1.1
PHP PHP=4.1.2
PHP PHP=4.2.0
PHP PHP=4.2.1
PHP PHP=4.2.2
PHP PHP=4.2.3
PHP PHP=4.3.0
PHP PHP=4.3.1
PHP PHP=4.3.2
PHP PHP=4.3.3
PHP PHP=4.3.4
PHP PHP=4.3.5
PHP PHP=4.3.6
PHP PHP=4.3.7
PHP PHP=4.3.8
PHP PHP=4.3.9
PHP PHP=4.3.10
PHP PHP=4.3.11
PHP PHP=4.4.0
PHP PHP=4.4.1
PHP PHP=4.4.2
PHP PHP=4.4.3
PHP PHP=4.4.4
PHP PHP=4.4.5
PHP PHP=4.4.6
PHP PHP=4.4.7
PHP PHP=4.4.8
PHP PHP=4.4.9
PHP PHP=5.0.0
PHP PHP=5.0.0-beta1
PHP PHP=5.0.0-beta2
PHP PHP=5.0.0-beta3
PHP PHP=5.0.0-beta4
PHP PHP=5.0.0-rc1
PHP PHP=5.0.0-rc2
PHP PHP=5.0.0-rc3
PHP PHP=5.0.1
PHP PHP=5.0.2
PHP PHP=5.0.3
PHP PHP=5.0.4
PHP PHP=5.0.5
PHP PHP=5.1.0
PHP PHP=5.1.1
PHP PHP=5.1.2
PHP PHP=5.1.3
PHP PHP=5.1.4
PHP PHP=5.1.5
PHP PHP=5.1.6
PHP PHP=5.2.0
PHP PHP=5.2.1
PHP PHP=5.2.2
PHP PHP=5.2.3
PHP PHP=5.2.4
PHP PHP=5.2.5
PHP PHP=5.2.6
PHP PHP=5.2.8
PHP PHP=5.2.9
PHP PHP=5.2.10
PHP PHP=5.2.11
PHP PHP=5.2.12
PHP PHP=5.2.13
PHP PHP=5.2.14
PHP PHP=5.3.0
PHP PHP=5.3.1
PHP PHP=5.3.2
PHP PHP=5.3.3
PHP PHP=5.3.4
PHP PHP=5.3.5
Solar Designer Crypt Blowfish<=0.4.7
Solar Designer Crypt Blowfish=0.2
Solar Designer Crypt Blowfish=0.3
Solar Designer Crypt Blowfish=0.4
Solar Designer Crypt Blowfish=0.4.1
Solar Designer Crypt Blowfish=0.4.2
Solar Designer Crypt Blowfish=0.4.3
Solar Designer Crypt Blowfish=0.4.4
Solar Designer Crypt Blowfish=0.4.5
Solar Designer Crypt Blowfish=0.4.6
PHP PHP<5.3.7
PostgreSQL postgresql>=8.2.0<8.2.22
PostgreSQL postgresql>=8.3.0<8.3.16
PostgreSQL postgresql>=8.4.0<8.4.9
PostgreSQL postgresql>=9.0.0<9.0.5
openwall Crypt Blowfish<1.1
redhat/php<5.3.7
5.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/php to a version that resolves this vulnerability.

    Fixed in 5.3.7
  2. Upgrade

    Upgrade crypt_blowfish to a version that resolves this vulnerability.

    Fixed in 1.1
  3. Upgrade

    Upgrade PHP to a version that resolves this vulnerability.

    Fixed in 5.3.7
  4. Upgrade

    Upgrade PostgreSQL to a version that resolves this vulnerability.

    Fixed in 8.4.9

Event History

Jun 21, 2011
Data Sourced
via Red Hat·04:15 PM
DescriptionSeverityAffected Software
Aug 25, 2011
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
02:22 PM
DescriptionWeaknessAffected Software
Aug 29, 2017
Data Sourced
01:29 AM
RemedySeverity
Apr 23, 2024
Data Sourced
via NVD·07:57 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·07:57 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2011-2483?

CVE-2011-2483 has been classified as a medium severity vulnerability due to its potential to expose cleartext passwords.

2

How do I fix CVE-2011-2483?

To fix CVE-2011-2483, upgrade to a version of PHP greater than 5.3.6 or an updated version of the crypt_blowfish library.

3

Which software is affected by CVE-2011-2483?

CVE-2011-2483 affects PHP versions prior to 5.3.7, PostgreSQL versions before 8.4.9, and older versions of the crypt_blowfish library.

4

What are the implications of CVE-2011-2483?

Exploitation of CVE-2011-2483 can allow attackers to determine cleartext passwords based on knowledge of password hashes.

5

How can I mitigate the risks of CVE-2011-2483?

Mitigation for CVE-2011-2483 includes updating affected software to the latest versions and disallowing the use of weak passwords.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203