CVE DatabaseCVE-2017-12149
한국어 권고문 →
CVE-2017-121499.8/CRITICALCISA KEVCWE-502CWE-502

Red Hat JBoss Application Server HTTP Invoker Deserialization Remote Code Execution (RCE) Vulnerability (CVE-2017-12149) Analysis and Mitigation Guide

⚡ Jump to Patch
Affected Vendors
redhat, jboss
Affected Components
application_server, enterprise_application_platform
Published Date
2017-10-04
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
90.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

JBoss Application Server shipped with Red Hat Enterprise Application Platform (EAP) 5.2, specifically when the HTTP Invoker (ReadOnlyAccessFilter) is enabled.

Impact

Unauthenticated remote attackers can execute arbitrary OS commands with the privileges of the JBoss process by sending crafted serialized Java objects.

Mitigation

Apply official Red Hat security updates, disable or restrict access to the HTTP Invoker servlet, or block serialization payloads using a Web Application Firewall (WAF).

Affected Products & Version Scope

Red Hat Enterprise Application Platform (EAP) 5.2 and JBoss Application Server deployments exposing the HTTP Invoker service

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Upgrade to the latest supported version of JBoss EAP or apply the official errata updates provided by Red Hat. Use the following package manager commands on RHEL-based systems:

bash
# Update JBoss EAP packages via Red Hat Subscription Manager
yum update jbossas-core jbossas-ws-cxf -y

2. Temporary Workaround & Hardening Configuration

If patching cannot be performed immediately, secure the environment by disabling the HTTP Invoker servlet mapping in the configuration files.

xml
<!-- Edit web.xml in jboss-web.deployer/conf/ or the respective application deployment -->
<!-- Comment out the ReadOnlyAccessFilter mapping as shown below -->
<!--
<filter-mapping>
    <filter-name>ReadOnlyAccessFilter</filter-name>
    <url-pattern>/readonly/*</url-pattern>
</filter-mapping>
-->

3. Log Audit & IoC Verification Commands

Inspect JBoss access logs for suspicious POST requests targeting the invoker endpoints and search for the presence of the vulnerable class.

bash
# Scan JBoss access logs for HTTP Invoker access attempts returning 200 OK
grep -Ei 'POST .*/invoker/' /var/log/jbossas/access_log*

# Locate JAR files containing the vulnerable ReadOnlyAccessFilter class
find / -name '*.jar' -exec grep -l 'ReadOnlyAccessFilter' {} \; 2>/dev/null
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Due to active exploitation in the wild, immediately restrict external access to JBoss invoker endpoints and apply the recommended Red Hat security patches.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability exists in the HTTP Invoker component of JBoss Application Server as shipped with Red Hat Enterprise Application Platform (EAP) 5.2. The doFilter method in the ReadOnlyAccessFilter class of the HTTP Invoker does not restrict or validate the classes for which it performs deserialization. Consequently, untrusted user input is directly passed to the Java deserialization API (ObjectInputStream.readObject()), leading to an unsafe deserialization flaw.

2. Exploitation Mechanics & Attack Scenario

An attacker leverages pre-existing gadget chains (such as Apache Commons Collections) within the application's classpath to construct a malicious serialized object payload. The attacker then sends this payload via an HTTP POST request to the vulnerable endpoint (e.g., /invoker/ReadOnlyAccessFilter). When the server deserializes the incoming data, the payload triggers the execution of arbitrary system commands under the security context of the JVM process.

3. Infrastructure & Business Impact

With a CVSS score of 9.8 and its inclusion in the CISA KEV catalog, this vulnerability represents a severe threat that is actively exploited in the wild. Successful exploitation allows complete system compromise, enabling attackers to establish persistence, exfiltrate sensitive data, deploy ransomware, or pivot deeper into the internal corporate network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2017-12149)

FAQ

Q1. How critical is CVE-2017-12149 and is it actively exploited in the wild?

CVE-2017-12149 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 90.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2017-12149?

Primary impacted vendors include redhat, jboss across application_server, enterprise_application_platform. Scope summary: Red Hat Enterprise Application Platform (EAP) 5.2 and JBoss Application Server deployments exposing the HTTP Invoker service

Q3. What temporary mitigations or workarounds exist for CVE-2017-12149 before patching?

[Mitigation] Apply official Red Hat security updates, disable or restrict access to the HTTP Invoker servlet, or block serialization payloads using a Web Application Firewall (WAF). Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2017-12149

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (redhat)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2017-12149 Red Hat JBoss Application Server HTTP Invoker Deserialization Remote Code Execution (RCE) Vulnerability (CVE-2017-12149) Analysis and Mitigation Guide (CVSS 9.8) - Patch & Workaround | CVE Pulse