Description
Oracle Database Server 10g Release 2 allows local users to execute arbitrary SQL queries via the GET_DOMAIN_INDEX_METADATA function in the DBMS_EXPORT_EXTENSION package. NOTE: this issue was originally linked to DB05 (CVE-2006-1870), but a reliable third party has claimed that it is not the same issue. Based on details of the problem, the primary issue appears to be insecure privileges that facilitate the introduction of SQL in a way that is not related to special characters, so this is not "SQL injection" per se.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Oracle DB SQL Injection via DBMS_EXPORT_EXTENSION
auxiliary/sqli/oracle/dbms_export_extension
Exploit-DB 2
- Oracle 9i/10g - DBMS_EXPORT_EXTENSION SQL Injection EDB-3269 · remote · Feb 5, 2007 · verified
- Oracle 10g Release 2 - 'DBMS_EXPORT_EXTENSION' SQL EDB-1719 · local · Apr 26, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20060426 Recent Oracle exploit is _actually_ an 0day with no patch mailing-list
- 20060427 Re: Recent Oracle exploit is _actually_ an 0day with no patch mailing-list
- http://www.red-database-security.com/exploits/oracle-sql-injection-oracle-dbms_export_extension.html
- VU#932124 third-party-advisory
- 19860 third-party-advisory
- oracle-dbmsexportextension-sql-injection(26048) vdb-entry
- 20060419 Oracle 10g 10.2.0.2.0 DBA exploit mailing-list
- 17699 vdb-entry
- 1015999 vdb-entry
- 20060501 RE: Oracle 10g 10.2.0.2.0 DBA exploit mailing-list
- 802 third-party-advisory
- 20060427 Re: Recent Oracle exploit is _actually_ an 0day with no patch mailing-list