Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2010-0866: Remote authenticated vulnerability in Oracle Database JavaVM

Published Apr 13, 2010 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS6.5Medium · v2
EPSS11.3%96th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Oracle Corporation
IdentifiersCVE-2010-0866

CVE-2010-0866 is an unspecified vulnerability in the JavaVM component of Oracle Database affecting 11.1.0.7 and 11.2.0.1. According to the provided Oracle advisory text, the issue is remotely exploitable by authenticated users and can affect confidentiality, integrity, and availability. The vulnerable function or code path is not identified in the provided content, and the attack vector is described only as unknown.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation by a remote authenticated user can compromise confidentiality, integrity, and availability of the affected Oracle Database instance. Based on the provided information, this may allow unauthorized access to data, unauthorized modification of data or database state, and disruption of service, but the exact technical consequences are not specified in the available content.

Mitigation

If you can’t patch tonight, do this now.

Until patches can be applied, reduce exposure by restricting network access and services required for database access to trusted networks and trusted users only, and remove unnecessary privileges/access from users who do not require access to vulnerable functionality. Oracle notes that such workarounds may affect functionality, should be tested before production deployment, and are not a substitute for patching.

Remediation

Patch, then assume compromise.

Apply the relevant Oracle Critical Patch Update from April 2010 for Oracle Database, following the product/version-specific patch guidance referenced by Oracle for affected releases 11.1.0.7 and 11.2.0.1. If these versions are unsupported or de-supported in the environment, upgrade to a supported release that includes the fix.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
jvm_os_code_11g.rbThis repository contains a single Metasploit auxiliary module targeting Oracle Database 11g R1 and R2 on Windows. The module exploits a vulnerability (CVE-2010-0866) in the DBMS_JVM_EXP_PERMS package, allowing any user with 'create session' privilege to grant themselves Java IO privileges and execute arbitrary OS commands on the database server. The exploit works by injecting PL/SQL code to escalate privileges and then running a user-specified command (defaulting to writing to %SYSTEMDRIVE%\unbreakable.txt) via the Windows command shell. The main attack vector is network-based, requiring access to the Oracle database. The module is operational and allows the attacker to specify any command to be executed on the target Windows host. The only file in the repository is a Ruby script compatible with the Metasploit framework.Disclosed Feb 1, 2010 · Framework: metasploit · ruby · networkWeaponizedjvm_os_code_10g.rbThis repository contains a single Metasploit auxiliary module targeting Oracle Database 10g R2, 11g R1, and 11g R2 on Windows (CVE-2010-0866). The exploit abuses a flaw in the DBMS_JVM_EXP_PERMS package, allowing any user with CREATE SESSION privilege to grant themselves Java IO privileges and ultimately execute arbitrary OS commands on the Windows host. The module constructs and executes a series of PL/SQL statements to escalate privileges and then runs a user-supplied command (defaulting to writing to %SYSTEMDRIVE%\unbreakable.txt). The attack vector is network-based, requiring access to the Oracle database. The main file is written in Ruby and is structured as a typical Metasploit module, with options for specifying the command to execute. No hardcoded IPs or URLs are present, but notable file paths include the default payload target and the Windows command interpreter.Disclosed Feb 1, 2010 · Framework: metasploit · ruby · networkWeaponized
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Oracle CorporationDatabase Serverapplication
FAQ

Frequently asked questions

Is CVE-2010-0866 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2010-0866 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2010-0866?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2010-0866, the earliest disclosed Feb 1, 2010.
Is there a patch for CVE-2010-0866?
Apply the relevant Oracle Critical Patch Update from April 2010 for Oracle Database, following the product/version-specific patch guidance referenced by Oracle for affected releases 11.1.0.7 and 11.2.0.1. If these versions are unsupported or de-supported in the environment, upgrade to a supported release that includes the fix.
What products are affected by CVE-2010-0866?
Oracle Corporation Database Server.
How severe is CVE-2010-0866?
CVE-2010-0866 has a CVSS v2 score of 6.5 (Medium) and an EPSS score of 11.3% (96th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.