2140 : OpenSSH w/ PAM Username Validity Timing Attack
Printer | http://osvdb.org/2140 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
9 1261 almost 10 years ago over 3 years ago 6 times 90%

Timeline

Disclosure Date
2003-04-30

Description

OpenSSH portable contains a flaw that may lead to an unauthorized information disclosure. The issue is triggered when PAM is enabled; remote users can determine which usernames are valid by looking at the relative time it takes to receive an error response from the system. When PAM is enabled, OpenSSH returns an error almost immediately if a user does not exist, and is slower if the user exists but the password is incorrect. This disparity in timing will disclose when the attacker hits upon a valid username, making brute-force username/password guessing easier and resulting in a loss of confidentiality.

Classification

Location: Local Access Required, Remote / Network Access
Attack Type: Information Disclosure, Input Manipulation
Impact: Loss of Confidentiality
Exploit: Exploit Public
Disclosure: Vendor Verified

Solution

Upgrade to version 3.6.1p2 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by applying the vendor-supplied patch, or by disabling PAM support.

Products

OpenSSH
OpenSSH (portable)
1.x
2.1x
2.2x
2.3x
2.5x
2.9x
3.0x
3.1x
3.2x
3.3x
3.4x
3.5x
3.6.1p1
1.x
2.1x
2.2x
2.3x
2.5x
2.9x
3.0x
3.1x
3.2x
3.3x
3.4x
3.5x
3.6.1p1

References

Tools & Filters

11574 12407 20650
1984

Credit

  • Marco Ivaldi - raptor0xdeadbeef.info - Antifork Research, Inc.
  • Andrea Ghirardini - pilapilasecurity.com - Pila's Security Services
  • Solar Designer - solarideal.ru -
  • Maurizio Agazzini - inodemediaservice.net - Mediaservice.net Srl Data Security Division
  • Marco Ivaldi - raptor0xdeadbeef.info - Antifork Research, Inc.
  • Andrea Ghirardini - pilapilasecurity.com - Pila's Security Services
  • Solar Designer - solarideal.ru -
  • Maurizio Agazzini - inodemediaservice.net - Mediaservice.net Srl Data Security Division

CVSSv2 Score

CVSSv2 Base Score = 5.0
Source: nvd.nist.gov | Generated: 2003-12-31 | Disagree?

Access_vector_2 Access_complexity_2 Authentication_2 Confidentiality_impact_1 Integrity_impact_0 Availability_impact_0

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2013 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use