CVE-2017-12149
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceA deserialization vulnerability in JBoss Application Server's ReadOnlyAccessFilter allows remote attackers to execute arbitrary code by sending crafted serialized Java objects through the HTTP Invoker service, which lacks class restrictions on deserialization.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versions= 5.0.0= 5.0.1= 5.1.0= 5.1.1= 5.1.2= 5.2.0= 5.2.1= 5.2.2CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify JBoss installation and versionCheck for JBoss installation directories and version files. Common paths include $JBOSS_HOME/bin/run.sh or check for jbossas.jar in the installation. Look for version.info, manifest files, or execute: ls -la $JBOSS_HOME/ and find $JBOSS_HOME -name '*.jar' | grep -i jbossAffected if The installed version matches any of: 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.1.2, 5.2.0, 5.2.1, 5.2.2, or is an unnamed 'all versions' variant of Red Hat JBoss Enterprise Application Platform 5.x
-
Locate the ReadOnlyAccessFilter classSearch for the vulnerable ReadOnlyAccessFilter class in the JBoss installation. Run: find $JBOSS_HOME -name 'ReadOnlyAccessFilter*' -o -name '*ReadOnlyAccessFilter*'. This filter is typically in jboss-web.jar or the web module.Affected if The ReadOnlyAccessFilter class exists in the JBoss installation, indicating the vulnerable component is present
-
Verify the vulnerable endpoint is accessibleCheck if the /readonly path is exposed. Test with: curl -i http://localhost:8080/readonly or nc -zv localhost 8080. The vulnerability is exploitable when this filter handles requests.Affected if The /readonly endpoint responds (returns any HTTP status code other than 404), meaning the filter is active and processing requests
-
Check for deserialization filters or Java serialization configInspect the web.xml descriptor for filter mappings: grep -r 'ReadOnlyAccessFilter' $JBOSS_HOME/server/*/deploy/jboss-web.deployer/conf/web.xml. Also check for presence of Java deserialization configuration in jboss-service.xml or server configuration files.Affected if The ReadOnlyAccessFilter is mapped in web.xml without class restrictions, or no deserialization whitelist is configured in the server configuration
If JBoss EAP version 5.x is installed (specifically 5.0.0-5.2.2 or any version labeled as 'all versions') AND the ReadOnlyAccessFilter is present and accessible via the /readonly endpoint, the environment is affected by CVE-2017-12149.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedRestrict deserialization classes in the HTTP Invoker filter, disable the ReadOnlyAccessFilter if not needed, or upgrade to a patched JBoss version.
JBoss EAP 5.2.0 or later (or migrate to supported JBoss EAP 6.x/7.x/8.x)
- 1. Verify the vulnerable JBoss EAP installation and confirm the HTTP Invoker service is accessible at /invoker/readonly
- 2. Identify the current JBoss EAP version by checking the release.txt or version files in the installation directory
- 3. For JBoss EAP 5.x: Upgrade to JBoss EAP 5.2.0 or later (latest available 5.x patch) which contains the security fix for CVE-2017-12149
- 4. Alternatively, migrate to a currently supported JBoss EAP version (6.x, 7.x, or 8.x) which is the recommended long-term solution
- 5. After upgrade, verify the HTTP Invoker filter now properly restricts deserialization to allowed classes only
- 6. As an additional precaution, verify that the /invoker/* path is not exposed to untrusted networks
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation6.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,760.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2017-12149 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2017-12149 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data