Incomplete protection of Oracle Database locked accounts (CVE-2012-0510)

Type securityvulns
Reporter Securityvulns
Modified 2012-04-22T00:00:00



AppSecInc Team SHATTER Security Advisory

Incomplete protection of Oracle Database locked accounts.

Risk Level: Low

Affected versions: Oracle Database Server version 10gR1, 10gR2 ( and previous patchsets) and 11gR1 ( and previous patchsets)

Remote exploitable: Yes (No authentication is required)

Credits: This vulnerability was discovered and researched by Esteban Martinez Fayo of Application Security Inc.

Details: Oracle Database provides OCIPasswordChange API to change user passwords. This API can be used while a user is logged on as well as before the authentication process is completed, this is because it can be used for accounts that have the password expired so that the user is able to change an expired password for a new one. It was observed that this API can be used to change the password of users that are locked. The purpose of locking an account is to deactivate it once it has received too many failed logins attempts or when no login is expected. If it is allowed to change the password of a locked account it is not correctly protecting it because brute force can be applied on an account to change its password and eventually it will get changed to a known password. The attacker will be able to log in using the account only once it is unlocked.

Impact: An unauthenticated attacker can perform on-line brute force of accounts to change the password to a known value. The attacker will be able to log in using the account only once it is unlocked.

Vendor Status: Vendor was contacted and a patch was released.

Workaround: There is no workaround for this vulnerability.

Fix: Apply Oracle Critical Patch Update April 2012 available at Oracle Support.

CVE: CVE-2012-0510


Timeline: Vendor Notification - 12/08/2011 Vendor Response - 12/15/2011 Fix - 4/17/2012 Public Disclosure - 4/19/2012

Copyright (c) 2012 Application Security, Inc. About Application Security, Inc.

AppSecInc is a pioneer and leading provider of database security solutions for the enterprise. By providing strategic and scalable software-only solutions - AppDetectivePro for auditors and IT advisors, and DbProtect for the enterprise - AppSecInc supports the database security lifecycle for some of the most complex and demanding environments in the world across more than 1,300 active commercial and government customers.

Leveraging the world's most comprehensive database security knowledgebase from the company's renowned team of threat researchers, TeamSHATTER, AppSecInc products help customers achieve unprecedented levels of data security from nefarious or accidental activities, while reducing overall risk and helping to ensure continuous regulatory and industry compliance.

Disclaimer: The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) - WinPT 1.4.3 Charset: UTF-8

iEYEARECAAYFAk+QeAYACgkQRx91imnNIgHaiACgvwlCq4y6e/DAkhMElhbEIBUA 3MsAoIXcRsvC6TQP20idA6yA/tihMmyz =zO5Y -----END PGP SIGNATURE-----