Call: +44 (0)1904 557620 Call

Pete Finnigan's Oracle Security Weblog

This is the weblog for Pete Finnigan. Pete works in the area of Oracle security and he specialises in auditing Oracle databases for security issues. This weblog is aimed squarely at those interested in the security of their Oracle databases.

[Previous entry: "New presentation on Database Vault faults"] [Next entry: "Oracle Database Buffer overflow vulnerability in function MDSYS.SDO_CS.TRANSFORM"]

Oracle Database Buffer overflow vulnerability in procedure DBMS_AQADM_SYS.DBLINK_INFO

Today Application Security Inc have released the following advisory for a buffer overflow ion DBMD_AQADM_SYS.DBLINK_INFO:

Oracle Database Buffer overflow vulnerability in procedure

October 29, 2007

Risk Level:

Affected versions:
Oracle Database Server versions 9iR1, 9iR2 ( and previous
patchsets) and 10gR1

Remote exploitable:
Yes (Authentication to Database Server is needed)

This vulnerability was discovered and researched by Esteban Martínez
Fayó of Application Security Inc.

Oracle Database Server provides the SYS.DBMS_AQADM_SYS package that is
used internally by the SYS.DBMS_AQADM package to provide procedures to
manage Oracle Streams Advanced Queuing (AQ) configuration and
administration information. This package contains the procedure
DBLINK_INFO which is vulnerable to buffer overflow attacks.

Any Oracle database user with EXECUTE privilege on the package
SYS.DBMS_AQADM_SYS can exploit this vulnerability. By default only
SYSDBA users have the required privilege. Exploitation of this
vulnerability allows an attacker to execute arbitrary code. It can also
be exploited to cause DoS (Denial of service) killing the Oracle server
Vendor Status:
Vendor was informed about this vulnerability on 2/22/2005 and a patch
was released on 10/16/2007.

Restrict access to the SYS.DBMS_AQADM_SYS package.

Apply Oracle Critical Patch Update October 2007 available at Oracle