CVE-2006-2081
Oracle Database Server 10g Release 2 - Arbitrary SQL Query Execution via DBMS_EXPORT_EXTENSION GET_DOMAIN_INDEX_METADATA
Title source: llmExploitation Summary
EIP tracks 3 public exploits for CVE-2006-2081.
PoCs published by MC, including Metasploit module auxiliary/sqli/oracle/dbms_export_extension.
AI-analyzed exploit summary This Perl script exploits CVE-2006-2081 in Oracle Database by leveraging the DBMS_EXPORT_EXTENSION package to grant or revoke DBA privileges to an unprivileged user. It creates a malicious package that executes arbitrary SQL commands via the ODCIIndexGetMetadata function.
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.
Exploits (3)
This Perl script exploits CVE-2006-2081 in Oracle Database by leveraging the DBMS_EXPORT_EXTENSION package to grant or revoke DBA privileges to an unprivileged user. It creates a malicious package that executes arbitrary SQL commands via the ODCIIndexGetMetadata function.
This exploit leverages a privilege escalation vulnerability in Oracle 10g by creating a malicious package that grants DBA privileges to an attacker-controlled user. It abuses the `ODCIIndexGetMetadata` function and `DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA` to execute arbitrary SQL commands with elevated privileges.
This Metasploit module exploits a SQL injection vulnerability in Oracle DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA to escalate privileges to DBA. It creates a malicious package and executes arbitrary SQL commands via base64-encoded payloads.