[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OCIPasswordChange API leaks information of password hash (CVE-2012-0511)
-----BEGIN PGP SIGNED MESSAGE-----
AppSecInc Team SHATTER Security Advisory
OCIPasswordChange API leaks information of password hash.
Oracle Database Server version 10gR1, 10gR2 (10.2.0.4 and previous
patchsets) and 11gR1 (220.127.116.11 and previous patchsets)
Yes (No authentication is required)
This vulnerability was discovered and researched by Esteban Martinez
Fayo of Application Security Inc.
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 for locked accounts this API leaks information
about the correct user password hash by giving different responses,
depending on whether the decryption of the new password
(AUTH_NEW_PASSWORD field), performed by the server, is successful or
not. This information can be used to perform an off-line brute force
attack to guess the correct password. Internal proof-of-concept tool
demonstrated that it is possible to try millions of passwords per
second, making it possible to crack passwords that are less than 9
characters length in a few hours.
Note that to perform this attack the account must be locked. An
attacker can lock an account by reaching the maximum failed login
attempts limit (by default 10). The attacker will be able to log in as
the user once the account is unlocked.
Remote unauthenticated attackers can perform off-line unlimited password
guesses on locked database accounts.
Vendor was contacted and a patch was released.
Implement a strong password policy.
Use some kind of external authentication (like network or directory
service based) instead of native database authentication.
Apply Oracle Critical Patch Update April 2012 available at Oracle Support.
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
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,
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32) - WinPT 1.4.3
-----END PGP SIGNATURE-----