CVE-2006-2081 is a privilege escalation vulnerability in Oracle Database Server 10g Release 2, specifically in the GET_DOMAIN_INDEX_METADATA function of the DBMS_EXPORT_EXTENSION package. Local users with only CREATE SESSION privilege can execute arbitrary SQL queries by abusing insecure privileges in this function. The vulnerability is not a classic SQL injection, as it does not rely on special character manipulation, but rather on the ability to introduce and execute arbitrary SQL through pre-compiled cursors, leveraging the DBMS_SQL package. This allows attackers to escalate privileges, such as granting DBA rights to PUBLIC, even without CREATE PROCEDURE privilege.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (2 hidden).
This repository contains a single Metasploit auxiliary module targeting a SQL injection vulnerability (CVE-2006-2081) in Oracle Database's DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_METADATA package. The exploit is designed to escalate the privileges of a database user to DBA by executing arbitrary SQL commands via the vulnerable package. The module constructs and encodes PL/SQL packages and bodies, then injects them using the vulnerable function. The default payload grants DBA privileges to the specified user, but the SQL command can be customized. The exploit requires network access to the Oracle database and valid credentials. The code is written in Ruby and follows the Metasploit module structure, with the main logic in the 'run' method. No external endpoints or IPs are hardcoded; the main fingerprintable target is the Oracle PL/SQL package and function.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.