CVE-2012-5076 is an unspecified vulnerability in the JAX-WS component of Oracle Java SE / Java Runtime Environment affecting Java SE 7 Update 7 and earlier. Oracle's description states that remote attackers can affect confidentiality, integrity, and availability via this flaw. Contemporary exploit-kit reporting referenced this issue as a "Java New Bytecode bypass," indicating it was used to bypass Java security restrictions in malicious applet/JAR delivery chains. The provided content does not identify the exact vulnerable function or code path within JAX-WS, so a more specific technical root-cause description is currently not available.
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.
2 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a single Metasploit module targeting CVE-2012-5076, a remote code execution vulnerability in Oracle Java 7u7 and earlier. The exploit abuses the AverageRangeStatisticImpl class in a Java applet to escape the Java sandbox and execute arbitrary code on the victim's machine. The module sets up an HTTP server that serves a malicious HTML page embedding a Java applet, which in turn loads a crafted JAR file containing the exploit and payload classes. The payload can be a Java-based or native (x86) payload for Windows, Linux, or Mac OS X, leveraging Metasploit's payload generation capabilities. The exploit is weaponized, allowing for easy payload customization and delivery via the Metasploit framework. The main attack vector is through a web browser with Java enabled, requiring the victim to visit the attacker's page. The module references several public advisories and is structured according to Metasploit conventions, with clear separation of setup, request handling, and payload delivery logic.
This repository contains a single Metasploit module (modules/exploits/multi/browser/java_jre17_jaxws.rb) that exploits CVE-2012-5076, a remote code execution vulnerability in Oracle Java 7u7 and earlier. The exploit works by serving a malicious Java applet (JAR file) containing specially crafted class files (Exploit.class and MyPayload.class) to a victim's browser. When a user with a vulnerable Java version visits the attacker's web server, the applet is executed outside the Java sandbox, allowing arbitrary code execution. The module supports multiple payloads, including Java and native payloads for Windows and Linux platforms. The exploit is weaponized, as it is part of the Metasploit framework and allows for easy payload customization. The main attack vector is through a web browser, requiring user interaction (visiting a malicious page). The repository structure is typical for a Metasploit module, with the Ruby file implementing the exploit logic and referencing external Java class files as part of the payload delivery.
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.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A specific vulnerability included in DotkaChef exploit kit according to the table.
A specific exploit used by the Sweet Orange exploit kit, including within a Java JAR component, indicating it was part of the kit's active exploit chain.
A Java bytecode bypass vulnerability actively implemented in Impact Exploit Kit and delivered through JAR files to drop a Windows executable payload.
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.