Oracle TNS authentication AUTH_ALTER_SESSION SQL command execution

oracle-login-command-execute (24184) The risk level is classified as HighHigh Risk

Description:

Oracle Database could allow a remote attacker with create session privileges to execute arbitrary SQL commands with elevated privileges. The AUTH_ALTER_SESSION value used during the TNS authentication process is executed with SYS user privileges. A remote attacker could insert arbitrary SQL statements into this value during authentication, which would be executed with SYS user privileges, allowing the attacker to add, modify, or delete information in the database.

Platforms Affected:

  • Oracle, Database Server 10.1.0.3 R1
  • Oracle, Database Server 10.1.0.4 R1
  • Oracle, Database Server 10.1.0.5 R1
  • Oracle, Database Server 10.2.0.1 R2
  • Oracle, Database Server 8.1.7.4 R3
  • Oracle, Database Server 9.2.0.6 R2
  • Oracle, Database Server 9.2.0.7 R2

Remedy:

Refer to Oracle Critical Patch Update - January 2006 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Gain Privileges

References:

  • Full-Disclosure Mailing List, Tue Jan 17 2006 - 14:36:33 CST, Oracle DBMS - Access Control Bypass in Login at http://archives.neohapsis.com/archives/fulldisclosure/2006-01/0575.html.
  • Oracle Web site, Oracle Critical Patch Update - January 2006 at http://www.oracle.com/technology/deploy/security/pdf/cpujan2006.html.
  • CVE-2006-0547: Oracle Database 8i, 9i, and 10g allow remote authenticated users to execute arbitrary SQL statements in the context of the SYS user and bypass audit logging, including statements to create new privileged database accounts, via a modified AUTH_ALTER_SESSION attribute in the authentication phase of the Transparent Network Substrate (TNS) protocol. NOTE: due to the lack of relevant details from the Oracle advisory, a separate CVE is being created since it cannot be conclusively proven that this issue has been addressed by Oracle. It is possible that this is the same issue as Oracle Vuln# DB18 from the January 2006 CPU, in which case this would be subsumed by CVE-2006-0265.
  • US-CERT VU#871756: Oracle TNS protocol fails to properly validate authentication requests

Reported:

Jan 17, 2006

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. 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 author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page