Public Vulnerability Reports

Oracle Database DBMS_AQELM Package Buffer Overflow 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.


Remote exploitation of a buffer overflow vulnerability in the DBMS_AQELM package in Oracle Corp.'s Oracle Database product allows attackers to execute arbitrary code with the privileges of the database user.

This vulnerability exists due to improper input validation when handling a parameter passed to a procedure within the DBMS_AQELM package. Since the parameter is not properly validated, providing a long string can cause a buffer overflow to occur. This results in corruption of the database and could allow for the execution of arbitrary code as the database user.


Exploitation of this vulnerability results in database corruption and possibly arbitrary code execution with the privileges of the oracle user on Unix, and the "SYSTEM" user on Windows. This grants an attacker full reign over the database.

In order to exploit this vulnerability, an attacker must have access to a database account with privilege to execute the DBMS_AQELM package. In a default install, users with the Advanced Queue Administrator Role (AQ_ADMINISTRATOR_ROLE) have this privilege.


iDefense confirmed the existence of this vulnerability in Oracle Database version and with the October 2007 CPU applied. Previous versions may also be affected.


iDefense is currently unaware of any workaround for this issue.


Oracle Corp. has addressed this vulnerability with the release of their July 2008 Critical Patch Update. For more information, visit the following URL.


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


12/18/2007 Initial vendor notification
12/19/2007 Initial vendor response
07/15/2008 Coordinated public disclosure


This vulnerability was reported to iDefense by Joxean Koret.

Get paid for vulnerability research

Free tools, research and upcoming events


Copyright © 2008 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.