CVE-2017-12149

CRITICAL KEV RANSOMWARE NUCLEI LAB

Jboss Application Server - Code Injection

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2017-12149 is actively exploited and listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, added December 10, 2021, with confirmed use in ransomware campaigns. EIP tracks 13 public exploits from researchers including yunxu1, sevck, 1337g, including a Metasploit module auxiliary/scanner/http/jboss_vulnscan. A Nuclei detection template is also available.

AI-analyzed exploit summary This repository contains a proof-of-concept exploit for CVE-2017-12149, a deserialization vulnerability in JBoss. The exploit generates a malicious payload to verify the vulnerability by writing a file to the target system and returning a specific string if successful.

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.

Exploits (13)

nomisec WORKING POC 209 stars
by yunxu1 · remote
https://github.com/yunxu1/jboss-_CVE-2017-12149

This repository contains a proof-of-concept exploit for CVE-2017-12149, a deserialization vulnerability in JBoss. The exploit generates a malicious payload to verify the vulnerability by writing a file to the target system and returning a specific string if successful.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: JBoss
No auth needed
Prerequisites: Target system running vulnerable JBoss version · Network access to the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 22 stars
by sevck · remote
https://github.com/sevck/CVE-2017-12149

This repository contains a GUI-based exploit for CVE-2017-12149, a deserialization vulnerability in JBoss AS 6.X. It generates a malicious serialized payload using Apache Commons Collections to achieve remote code execution via a reverse shell.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: JBoss AS 6.X
No auth needed
Prerequisites: Network access to the JBoss invoker/readonly endpoint · Apache Commons Collections library
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 15 stars
by 1337g · remote
https://github.com/1337g/CVE-2017-12149

This exploit targets CVE-2017-12149, a deserialization vulnerability in JBoss AS. It includes payloads for both Linux and Windows systems, leveraging serialized Java objects to achieve remote code execution.

Classification
Working Poc 90%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: JBoss AS
No auth needed
Prerequisites: Network access to vulnerable JBoss AS instance
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 13 stars
by jreppiks · remote
https://github.com/jreppiks/CVE-2017-12149

This is a Python-based exploit for CVE-2017-12149, a Java deserialization vulnerability in JBoss. It uses ysoserial to generate a malicious payload and sends it to the target via HTTP/HTTPS to achieve remote code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JBoss (versions affected by CVE-2017-12149)
No auth needed
Prerequisites: Java runtime environment · ysoserial.jar · Network access to target JBoss server
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC 1 stars
by vaishakhcv · perlpoc
https://github.com/vaishakhcv/CVE-exploits/tree/master/CVE-2017-12149

This repository contains a functional Perl exploit for CVE-2017-12149, targeting a deserialization vulnerability in JBoss Application Server. The exploit leverages crafted serialized data to execute arbitrary commands on the vulnerable server.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JBoss Application Server (as shipped with Red Hat Enterprise Application Platform 5.2)
Auth required
Prerequisites: HTTP authentication credentials · network access to the target server
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC
by galois17 · poc
https://github.com/galois17/cve-2017-12149-playground

This repository provides a containerized JBoss AS 6.1.0 environment to demonstrate Java Deserialization (CVE-2017-12149) via ysoserial payloads. It includes a script to generate a reverse shell payload for exploitation.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JBoss AS 6.1.0
No auth needed
Prerequisites: Docker · ysoserial · network access to target
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec SCANNER
by zesnd · infoleak
https://github.com/zesnd/cve-2017-12149

This script checks for the presence of CVE-2017-12149 by sending a POST request to a specific endpoint and analyzing the response status code. It does not exploit the vulnerability but confirms its existence.

Classification
Scanner 90%
Attack Type
Info Leak
Complexity
Trivial
Reliability
Reliable
Target: JBoss AS 5.X, JBoss AS 6.X
No auth needed
Prerequisites: Network access to the target JBoss server
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by JesseClarkND · remote
https://github.com/JesseClarkND/CVE-2017-12149

This is a Python-based exploit for CVE-2017-12149, which targets a deserialization vulnerability in JBoss. The exploit constructs malicious serialized payloads for both Linux and Windows targets to achieve remote code execution (RCE).

Classification
Working Poc 90%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: JBoss (versions affected by CVE-2017-12149)
No auth needed
Prerequisites: Network access to vulnerable JBoss instance · Knowledge of target OS (Linux/Windows)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by MrE-Fog · remote
https://github.com/MrE-Fog/jboss-_CVE-2017-12149

This repository contains a proof-of-concept exploit for CVE-2017-12149, a deserialization vulnerability in JBoss. The exploit generates a malicious serialized payload that writes a file to the target system, demonstrating remote code execution.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: JBoss (specific version not specified)
No auth needed
Prerequisites: Network access to the target JBoss server · JBoss server vulnerable to CVE-2017-12149
devstral-2 · analyzed Feb 16, 2026 Full analysis →
github WORKING POC
by winterwolf32 · perlpoc
https://github.com/winterwolf32/CVE_Exploits-/tree/master/CVE-2017-12149

This Perl script exploits CVE-2017-12149, a deserialization vulnerability in JBoss Application Server's HTTP Invoker. It crafts a malicious serialized payload to achieve remote code execution (RCE) on vulnerable systems.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: JBoss Application Server (as shipped with Red Hat Enterprise Application Platform 5.2)
Auth required
Prerequisites: valid credentials for HTTP authentication · network access to the JBoss HTTP Invoker endpoint
devstral-2 · analyzed Feb 27, 2026 Full analysis →
nomisec WORKING POC
by VVeakee · remote
https://github.com/VVeakee/CVE-2017-12149

This repository contains a proof-of-concept exploit for CVE-2017-12149, targeting a deserialization vulnerability in JBoss. The exploit generates a malicious payload to achieve remote code execution by writing a class file to the target system and executing it.

Classification
Working Poc 95%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Reliable
Target: JBoss
No auth needed
Prerequisites: Network access to the target JBoss server · Vulnerable version of JBoss
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WRITEUP
by Xcatolin · poc
https://github.com/Xcatolin/jboss-deserialization

This repository provides a lab setup guide for exploiting CVE-2017-12149, an insecure deserialization vulnerability in JBoss versions prior to 7.0. It includes instructions for setting up a Docker environment with JBoss 6.0.0 Final and Oracle JDK 6.

Classification
Writeup 90%
Attack Type
Deserialization
Complexity
Moderate
Reliability
Theoretical
Target: JBoss <7.0
No auth needed
Prerequisites: Docker · Oracle JDK 6 rpm package · JBoss 6.0.0 Final
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit SCANNER
by Tyler Krpata, Zach Grace <@ztgrace> · rubypoc
https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/jboss_vulnscan.rb

This Metasploit module scans JBoss instances for multiple vulnerabilities, including CVE-2017-12149, by checking for unauthenticated access to specific endpoints and default credentials. It does not exploit the vulnerabilities but detects their presence.

Classification
Scanner 100%
Attack Type
Info Leak | Auth Bypass
Complexity
Moderate
Reliability
Reliable
Target: JBoss Application Server
No auth needed
Prerequisites: network access to the target JBoss instance
devstral-2 · analyzed Jun 05, 2026 Full analysis →

Nuclei Templates (1)

Jboss Application Server - Remote Code Execution
CRITICALby fopina,s0obi
Shodan: http.title:"jboss" || cpe:"cpe:2.3:a:redhat:jboss_enterprise_application_platform"
FOFA: title="jboss"

References (6)

Core 6
Core References
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1486220
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1608
Broken Link, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/100591
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:1607

Scores

CVSS v3 9.8
EPSS 0.9071
EPSS Percentile 99.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation active
Automatable yes
Technical Impact total

Lab Environment

COMMUNITY
Community Lab
docker pull jboss/base:latest
docker pull vulhub/jboss:as-6.1.0
+10 more repos

Details

CISA KEV 2021-12-10
VulnCheck KEV 2017-12-02
InTheWild.io 2021-04-08
ENISA EUVD EUVD-2017-3733
Ransomware Use Confirmed
CWE
CWE-502
Status published
Products (10)
Red Hat, Inc./jbossas
redhat/jboss_enterprise_application_platform
redhat/jboss_enterprise_application_platform 5.0.0
redhat/jboss_enterprise_application_platform 5.0.1
redhat/jboss_enterprise_application_platform 5.1.0
redhat/jboss_enterprise_application_platform 5.1.1
redhat/jboss_enterprise_application_platform 5.1.2
redhat/jboss_enterprise_application_platform 5.2.0
redhat/jboss_enterprise_application_platform 5.2.1
redhat/jboss_enterprise_application_platform 5.2.2
Published Oct 04, 2017
KEV Added Dec 10, 2021
Tracked Since Feb 18, 2026