<<< Date Index >>>     <<< Thread Index >>>

Team SHATTER Security Advisory: Oracle Database SQL Injection in SYS.DBMS_CDC_PUBLISH.ALTER_AUTOLOG_CHANGE_SOURCE



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Team SHATTER Security Advisory

Oracle Database SQL Injection in
SYS.DBMS_CDC_PUBLISH.ALTER_AUTOLOG_CHANGE_SOURCE

November 12, 2008

Risk Level:
Medium

Affected versions:
Oracle Database Server versions 10gR1, 10gR2 and 11gR1

Remote exploitable:
Yes (Authentication required)

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

Details:
The PL/SQL package DBMS_CDC_PUBLISH owned by SYS has an instance of
SQL Injection in the ALTER_AUTOLOG_CHANGE_SOURCE procedure. A
malicious user can call the vulnerable procedure of this package with
specially crafted parameters and execute SQL statements with the
elevated privileges of the SYS user.

Impact:
Any Oracle database user with EXECUTE privilege on the package
SYS.DBMS_CDC_PUBLISH can exploit this vulnerability. By default, users
granted EXECUTE_CATALOG_ROLE have the required privilege. Exploitation
of this vulnerability allows an attacker to execute SQL commands with
SYS privileges.

Vendor Status:
Vendor was contacted and a patch was released.

Workaround:
Restrict access to the SYS.DBMS_CDC_PUBLISH package.

Fix:
Apply Oracle Critical Patch Update October 2008 available at Oracle
Metalink.

CVE:
CVE-2008-3995

References:
http://www.appsecinc.com/resources/alerts/oracle/2008-09.shtml

Timeline:
Vendor Notification - 3/20/2008
Vendor Response - 3/24/2008
Fix - 10/14/2008
Public Disclosure - 11/11/2008

Application Security, Inc's database security solutions have helped
over 1000 organizations secure their databases from all internal and
external threats while also ensuring that those organizations meet or
exceed regulatory compliance and audit requirements.

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFJG64Q9EOAcmTuFN0RAtY5AJ4zdOuucszN1AwDZeqoMOayAoK9PgCgxzNA
z7IjxKhUqtzWmruez7wdkDA=
=Xy6E
-----END PGP SIGNATURE-----