Oracle Database 10g Rel. 2 - Event 10053 logs TDE wallet password in cleartext



Name Event 10053 logs TDE wallet password in cleartext
Systems Oracle Database 10g Release 2
Severity High Risk
Category Information disclosure
Vendor URL http://www.oracle.com/
Author Alexander Kornbrust (ak at red-database-security.com)
Date 17 January 2005 (V 1.00)
Oracle Bug 5802023
Time to fix 190 days


Details:
########
The event 10053 is storing the masterkey of Oracle Transparent Data Encryption unencrypted in a trace-file. A skilled attacker or non-security DBA could set this special event to get the plaintext masterkey for the TDE encryption.

Test case:
##########
SQL> alter session set events='10053 trace name context forever, level
SQL> 1';

Session altered.


SQL> ALTER SYSTEM SET WALLET OPEN IDENTIFIED BY "secretpassword";

System altered.
######### Test case ######



######### Excerpt from trace file ############ [] Current SQL statement for this session:
ALTER SYSTEM SET WALLET OPEN IDENTIFIED BY "secretpassword"
[]
######### Excerpt from trace file ############


Patch Information:
##################
Oracle fixed this issue with the patches from the critical patch update january 2006 for Oracle 10g Release 2.

History:
########
11-jul-2005 Oracle secalert was informed
12-jul-2005 Bug confirmed
17-jan-2006 Oracle published the Critical Patch Update January 2006
(CPU January 2006)
17-jan-2006 Red-Database-Security published this advisory


© 2006 by Red-Database-Security GmbH
http://www.red-database-security.com/advisory/oracle_cpu_jan_2006.html



Relevant Pages

  • Re: Setting SQL trace on another session
    ... I recently tried to set sql trace session for a session, ... stop tracing. ... though I have set the trace file in the ... Sybrand Bakker, Senior Oracle DBA ...
    (comp.databases.oracle.server)
  • Re: How, specifically, can I find out the cause of deadlock from a trace file?
    ... my multi-threaded application is having deadlock problems. ... each trace file shows a "deadlock graph". ... Session 98: no row ... Oracle instance that's in multi-threaded server mode, ...
    (comp.databases.oracle.server)
  • Re: Reports Background engine failures
    ... but the reality is we've never hit an Oracle bug with 6i in the ... paleolithic forms tool to the currently supported database. ... plan on supporting Oracle 11g. ...
    (comp.databases.oracle.tools)
  • Re: oracle sqlplus loop on 2.6.20
    ... I'm running oracle 10.2.0.1 on Slackware Linux 10.2 ... After 50 days uptime, sqlplus was looping forever. ... I have killed all oracle processes and cleared all ... Sounds like an Oracle bug to ...
    (Linux-Kernel)
  • Re: Disabling/enabling all constraints/triggers for a schema
    ... Jeremy wrote: ... there any native functionality in Oracle though to do this? ... We use Oracle 9iR2 on Solaris 8 with the Oracle HTTP Server and ... There must be some Oracle bug, ...
    (comp.databases.oracle.server)