Public Vulnerability Reports

Oracle Database 10g R2 Summary Advisor Arbitrary File Rewrite Vulnerability



Oracle Database Server is a family of database products that range from personal databases to enterprise solutions. Further information is available at the following URL:


Local exploitation of an arbitrary file rewrite vulnerability in Oracle Corp.'s Oracle Database 10g Release 2 database product allows attackers to gain elevated privileges.

The vulnerability exists in a function that allows a user with an authenticated session to create any file or rewrite any files to which the database account has access.


Successful exploitation allows the attacker to gain database account privilege. On Linux and Unix systems the database account is usually 'oracle' while on Windows systems it is the 'SYSTEM' account. To exploit this vulnerability, the attacker must create a session and execute the privileged procedure.


iDefense has confirmed the existence of this vulnerability in Oracle Database 10g Release 2 version on 32-bit Linux platform and Windows platform. Previous versions may also be affected. Oracle Database 11g Release 1 version is not affected by this vulnerability.


iDefense is currently unaware of any workaround for this issue.


Oracle has released a patch which addresses this issue. For more information, consult their advisory at the following URL.


The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2008-3997 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.


03/24/2008 - Initial Vendor Notification
03/25/2008 - Initial Vendor Response
11/24/2008 - Status update from Vendor
01/12/2009 - Coordinated Public Disclosure


This vulnerability was reported to iDefense by Code Audit Labs (

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2009 Verisign, Inc.

Permission is granted for the redistribution of this alert electronically. It may not be edited in any way without the express written consent of iDefense. If you wish to reprint the whole or any part of this alert in any other medium other than electronically, please e-mail customer service for permission.

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.