Secunia Logo
 
Oracle Database Server "extproc" Two Vulnerabilities
Secunia Advisory: SA9339
Release Date: 2003-07-24
Last Update: 2005-11-16
Popularity: 7,923 views

Critical:
Moderately critical
Impact: System access
Where: From local network
Solution Status: Partial Fix

Software:Oracle 7.x
Oracle Database 8.x
Oracle9i Database Enterprise Edition
Oracle9i Database Standard Edition

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Two vulnerabilities have been reported in Oracle Database Server, which can be exploited by malicious people to compromise a vulnerable system.

1) Requests to load and execute external libraries using "extproc" are not properly validated. This can be exploited by malicious users to execute any function in any DLL on the file system via the Oracle Listener, without requiring authentication.

2) A boundary error was introduced in the patch for vulnerability #1. This can be exploited to cause a stack-based buffer overflow when attempts to load external libraries via in the "CREATE LIBRARY" and "CREATE ANY LIBRARY" SQL functions are logged. Users who has been granted access to these functions could possibly exploit this to execute arbitrary code on the database server.

David Litchfield made a demonstration at the BlackHat Briefings proving that this can be exploited by anonymous users.

The vulnerabilities have been reported in versions 7, 8i and 9i.

Solution:
Oracle has released patches:

Version 9.2.0.3 on all platforms except Windows apply patch 2988114
Version 9.2.0.3 on Windows apply patch 2973634
Version 9.2.0.3 on IBM OS/390 apply patch 2990322

Version 9.2.0.2 on all platforms except Windows apply patch 2988086
The patch for version 9.2.0.2 on Windows will be available in August 2003.
Version 9.2.0.2 on IBM OS/390 apply patch 2990370

Patches are available from:
http://metalink.oracle.com/

NOTE: The vendor has reported that patches are not available for versions 9.0.1.4, 8.1.7.4, 8.1.6.x, 8.1.5.x, 8.0.6.3, 8.0.5.x, and 7.3.x due to architectural constraints.

Provided and/or discovered by:
David Litchfield and Chris Anley, Next Generation Security Software

Changelog:
2003-08-07: Updated due to information which indicates that this can be exploited by anonymous users.
2005-11-16: Updated advisory with information that patches are not available for certain Oracle versions.

Original Advisory:
http://otn.oracle.com/deploy/security/pdf/2003alert57.pdf
http://www.nextgenss.com/advisories/ora-extproc.txt
http://www.ngssoftware.com/advisories/oraplsextproc.txt


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. Sun Java JDK / JRE Multiple Vulnerabilities // 58 views
2. Zeroboard Multiple Vulnerabilities // 36 views
3. Adobe Acrobat/Reader Multiple Vulnerabilities // 33 views
4. Linksys WRT160N Cross-Site Scripting Vulnerability // 27 views
5. Debian update for flamethrower // 27 views
6. DAHDI "ZT_SPANCONFIG" IOCTL Privilege Escalation Vulnerability // 26 views
7. IBM Rational ClearQuest Multiple Vulnerabilities // 25 views
8. Rumpus Multiple Vulnerabilities // 24 views
9. IBM Rational ClearCase Cross-Site Scripting Vulnerability // 23 views
10. ClamAV "cli_check_jpeg_exploit()" Denial of Service Vulnerability // 23 views