Full Disclosure mailing list archives

TeamSHATTER Security Advisory: Buffer Overflow in Oracle Database (CTXSYS.DRVDISP.TABLEFUNC_ASOWN function)


From: Shatter <shatter () appsecinc com>
Date: Fri, 21 Oct 2011 11:27:09 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

TeamSHATTER Security Advisory

October 20, 2011

Risk Level:
Medium

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

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

Credits:
This vulnerability was discovered and researched by Esteban Martinez Fayo of Application Security Inc.

Details:
Oracle Database Server provides the CTXSYS.DRVDISP package that is part of Oracle Text component. This package contains 
the function TABLEFUNC_ASOWN which is vulnerable to buffer overflow attacks when it is called with a long string in 
their parameters.

Impact:
Any Oracle database user with EXECUTE privilege on CTXSYS.DRVDISP package (or with EXECUTE ANY PROCEDURE privilege) can 
exploit this vulnerability. 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 process.

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

Workaround:
Restrict EXECUTE permissions on the vulnerable package CTXSYS.DRVDISP.

Fix:
Apply Oracle Critical Patch Update October 2011 available at Oracle Support.

CVE:
CVE-2011-2301

Links:
http://www.teamshatter.com/topics/general/team-shatter-exclusive/buffer-overflow-in-oracle-database-ctxsys-drvdisp-tablefunc_asown-function
http://www.oracle.com/technetwork/topics/security/cpuoct2011-330135.html

Timeline:
Vendor Notification - 5/31/2011
Vendor Response - 6/1/2011
Fix - 10/18/2011
Public Disclosure - 10/20/2011

Application Security, Inc's database security solutions have helped over 2000 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.11 (MingW32)

iEYEARECAAYFAk6hhx8ACgkQRx91imnNIgGjJACfcgQJQbi1hQM6ULqFDZ+B8Nvh
YiAAoLnn6pfpYHoa4fPXDOCXrDcTrJOH
=vWgh
-----END PGP SIGNATURE-----

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/


Current thread: