Description
In Jboss Application Server as shipped with Red Hat Enterprise Application Platform 5.2, it was found that the doFilter method in the ReadOnlyAccessFilter of the HTTP Invoker does not restrict classes for which it performs deserialization and thus allowing an attacker to execute arbitrary code via crafted serialized data.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | jbossas | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss EAP 5 | jbossas +3 | 5.2.0-24.ep5.el5 | RHSA-2018:1607 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
JBoss Vulnerability Scanner
auxiliary/scanner/http/jboss_vulnscan
GitHub 11 repositories · most starred shown
-
yunxu1/jboss-_CVE-2017-12149 ★ 210 · Nov 28, 2017
CVE-2017-12149 jboss反序列化 可回显
-
sevck/CVE-2017-12149 ★ 22 · Nov 21, 2017
CVE-2017-12149 JBOSS as 6.X反序列化(反弹shell版)
-
1337g/CVE-2017-12149 ★ 16 · Dec 22, 2017
CVE-2017-12149 JBOSS RCE (TESTED)
-
jreppiks/CVE-2017-12149 ★ 14 · Aug 22, 2019
Jboss Java Deserialization RCE (CVE-2017-12149)
-
galois17/cve-2017-12149-playground ★ 0 · Jan 1, 2026
-
zesnd/cve-2017-12149 ★ 0 · Dec 21, 2024
-
JesseClarkND/CVE-2017-12149 ★ 0 · Apr 30, 2024
Update of https://github.com/1337g/CVE-2017-12149 to work with python3
-
MrE-Fog/jboss-_CVE-2017-12149 ★ 0 · Aug 6, 2023
-
VVeakee/CVE-2017-12149 ★ 0 · Apr 14, 2022
-
Xcatolin/jboss-deserialization ★ 0 · May 30, 2021
JBoss CVE-2017-12149 (Insecure Deserialization - RCE) Exploitation Lab.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Jboss Application Server - Remote Code Execution http/cves/2017/CVE-2017-12149.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- RHSA-2018:1607 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 5.2 security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1486220
- RHSA-2018:1608 vendor-advisory
- https://github.com/gottburgm/Exploits/tree/master/CVE-2017-12149
- 100591 vdb-entry
- RHSA-2018:1607 vendor-advisory