Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2017-12149: JBoss HTTP Invoker Deserialization Remote Code Execution

Published Oct 4, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS90.7%100th percentile
CISA KEVYesAdded Dec 10, 2021
In the wildActivePer CISA KEV
Vendor
Red Hat
IdentifiersCVE-2017-12149CWE-502 · Deserialization of Untrusted Data

CVE-2017-12149 is an unsafe deserialization vulnerability in JBoss Application Server as shipped with Red Hat Enterprise Application Platform 5.2. The HTTP Invoker's ReadOnlyAccessFilter.doFilter method deserializes attacker-controlled data without restricting the classes it processes. Crafted serialized data can therefore trigger arbitrary code execution on the server. The vulnerability has been exploited by cryptomining malware, ransomware propagation mechanisms, and targeted intrusion actors.

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 permits remote execution of arbitrary code and commands on the affected JBoss host. Observed exploitation has supported cryptocurrency-miner deployment, ransomware propagation, and initial access to organizational networks. Subsequent activity can include persistence, lateral movement, and data theft, although these outcomes depend on additional attacker actions and access.

Mitigation

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

Restrict network access to HTTP Invoker and management interfaces using firewalls, VPNs, and network segmentation. Remove unnecessary exposed components and strengthen authentication for management access. Use logging and EDR/XDR monitoring to detect exploitation and post-exploitation activity. If compromise is suspected, preserve forensic evidence, isolate affected hosts, and restore trustworthy system images after investigation.

Remediation

Patch, then assume compromise.

Apply vendor security updates addressing CVE-2017-12149. Replace unsupported JBoss deployments with maintained products rather than retaining end-of-life middleware. The available information does not identify a specific fixed release or patch identifier.

Public exploits

Exploits

3 exploits validated by Mallory's analysis. Hidden: 3 rejected by Mallory's analysis as not a working exploit.

View more in app →
jboss-_CVE-2017-12149This repository is an exploit toolkit for CVE-2017-12149, a remote code execution vulnerability in JBoss Application Server due to unsafe Java deserialization via the /invoker/readonly endpoint. The exploit is implemented in Java and includes a GUI (main.java) for user interaction, a payload generator (Payload.java) that crafts malicious serialized objects using Apache Commons Collections gadget chains, and a network module (doPost.java) that sends the payload to the target server. The toolkit can detect the target OS (Windows or Linux) and adjust the payload accordingly. The exploit allows arbitrary command execution on the vulnerable JBoss server. The codebase also includes a full copy of Apache Commons Collections source code, which is used to build the gadget chain for the exploit. The main fingerprintable endpoint is /invoker/readonly, which is targeted by the exploit. The repository is operational and provides a working exploit with customizable payloads for remote code execution.yunxu1 · Disclosed Nov 28, 2017 · java · networkOperationalCVE-2017-12149This repository contains a Python exploit script (CVE-2017-12149.py) targeting the JBoss server vulnerability CVE-2017-12149. The exploit works by sending a specially crafted serialized Java object to the /invoker/readonly endpoint of a target JBoss server over HTTP. The script first attempts to determine the target OS (Linux or Windows) by sending test payloads and analyzing the response. Once the OS is identified, the user can interactively send arbitrary system commands to be executed on the target server, with the output returned to the attacker. The exploit is operational and provides a basic interactive shell-like interface. The README provides minimal usage instructions and notes that the exploit does not work over HTTPS. The main fingerprintable endpoint is /invoker/readonly, which is specific to vulnerable JBoss installations.1337g · Disclosed Dec 22, 2017 · python · networkOperationalCVE-2017-12149This repository contains a Python exploit script (jdspoc.py) targeting the JBoss Java Deserialization Remote Code Execution vulnerability (CVE-2017-12149). The exploit requires the attacker to have ysoserial.jar (a Java tool for generating malicious serialized objects) and Java installed locally. The script takes as input the target's IP and port (in the format IP:PORT), the command to execute, and optionally the protocol (HTTP/HTTPS) and path to ysoserial.jar. It generates a malicious Java serialized payload using the CommonsCollections1 gadget and sends it via a POST request to the /invoker/readonly endpoint on the target JBoss server. If the server is vulnerable, the supplied command is executed remotely. The repository structure is simple, consisting of a README.md describing the exploit and the main exploit script jdspoc.py. The exploit is operational, allowing arbitrary command execution on vulnerable targets.jreppiks · Disclosed Aug 22, 2019 · python · networkOperational
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
Red HatJboss Enterprise Application Platformapplication
FAQ

Frequently asked questions

Is CVE-2017-12149 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Dec 10, 2021.
Is there a public exploit for CVE-2017-12149?
Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2017-12149, the earliest disclosed Nov 28, 2017.
Is there a patch for CVE-2017-12149?
Apply vendor security updates addressing CVE-2017-12149. Replace unsupported JBoss deployments with maintained products rather than retaining end-of-life middleware.
What products are affected by CVE-2017-12149?
Red Hat Jboss Enterprise Application Platform.
How severe is CVE-2017-12149?
CVE-2017-12149 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 90.7% (100th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
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 evidence2Every report linking this CVE to a named adversary.
Associated malware9Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.