Oracle Database Server TO_TIMESTAMP_TZ() buffer overflow

oracle-totimestamptz-bo (11327) The risk level is classified as HighHigh Risk

Description:

Oracle Database Servers are vulnerable to a buffer overflow in the TO_TIMESTAMP_TZ function, caused by improper bounds checking of user-supplied input. By supplying an overly long argument to the TO_TIMESTAMP_TZ function, a remote attacker could overflow a buffer and execute arbitrary commands on the server with elevated privileges.

Platforms Affected:

  • Oracle, Database Server 8.0.6
  • Oracle, Database Server 8.1.7
  • Oracle, Database Server 8.1.7.1
  • Oracle, Database Server 9.0
  • Oracle, Database Server 9.0.1 R1
  • Oracle, Database Server 9.0.1.2 R1
  • Oracle, Database Server 9.0.1.3 R1
  • Oracle, Database Server 9.0.2
  • Oracle, Database Server 9.2.1 R2
  • Oracle, Database Server 9.2.2 R2
  • Oracle, Database Server R2

Remedy:

Apply the appropriate patch for your system, as listed in Oracle Security Alert #50. See References.

Consequences:

Gain Access

References:

  • CERT Advisory CA-2003-05, Multiple Vulnerabilities in Oracle Servers at http://www.cert.org/advisories/CA-2003-05.html.
  • CIAC Information Bulletin N-046, Multiple Vulnerabilities in Oracle Servers at http://www.ciac.org/ciac/bulletins/n-046.shtml.
  • NGSSoftware Insight Security Research Advisory #NISR16022003b, Oracle TO_TIMESTAMP_TZ Remote System Buffer Overrun at http://www.nextgenss.com/advisories/ora-tmstmpbo.txt.
  • Oracle Security Alert #50, Buffer Overflow in Oracle9i Database Server at http://otn.oracle.com/deploy/security/pdf/2003alert50.pdf.
  • BID-6847: Oracle Database Server TO_TIMESTAMP_TZ Buffer Overflow Vulnerability
  • BID-6848: Oracle Database Server TZ_OFFSET Buffer Overflow Vulnerability
  • BID-6850: Oracle Database Server DIRECTORY Buffer Overflow Vulnerability
  • CVE-2003-0096: Multiple buffer overflows in Oracle 9i Database release 2, Release 1, 8i, 8.1.7, and 8.0.6 allow remote attackers to execute arbitrary code via (1) a long conversion string argument to the TO_TIMESTAMP_TZ function, (2) a long time zone argument to the TZ_OFFSET function, or (3) a long DIRECTORY parameter to the BFILENAME function.
  • US-CERT VU#663786: Oracle9i Database contains remotely exploitable buffer overflow in BFILENAME function
  • US-CERT VU#743954: Oracle9i Database contains remotely exploitable buffer overflow in TZ_OFFSET function
  • US-CERT VU#840666: Oracle9i Database contains remotely exploitable buffer overflow in TO_TIMESTAMP_TZ function

Reported:

Feb 11, 2003

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

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page