CVE-2017-9805

unknown KEV
Published 2018-10-16 ยท Modified 2021-11-03
CVSS v3
โ€”
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
2.5

Description

Apache Struts REST Plugin uses an XStreamHandler with an instance of XStream for deserialization without any type filtering, which can lead to remote code execution when deserializing XML payloads.

CISA KEV

Vendor
Apache
Product
Struts
Due date
2022-05-03

Predictions

Exploit likelihood
99%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-42627 remote linux
Warflop ยท 2017-09-06

Apache Struts 2.5 < 2.5.12 - REST Plugin XStream Remote Code Execution

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

Apache Struts 2 REST Plugin XStream RCE
Source fetch failed: fetch_error โ€” view the original via the link above.

Package impact

EcosystemPackageVulnerableFixed
java Mavenorg.apache.struts:struts2-rest-plugin>=2.1.1,<2.3.342.3.34
java Mavenorg.apache.struts:struts2-rest-plugin>=2.5.0,<2.5.132.5.13

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.