Hexret
CVE-2017-9805high 8.1PoC available

Apache Struts REST plugin XStream deserialization RCE (S2-052)

The REST plugin deserializes an XML request body with a default XStream instance that has no type allowlist, so a crafted gadget-chain document instantiates arbitrary classes and runs commands on the server.

Product
Apache Struts 2 REST Plugin (struts2-rest-plugin)
Vendor
Apache Software Foundation
Affected
2.1.6 through 2.3.33, and 2.5 through 2.5.12
Fixed in
2.3.34 and 2.5.13
Weakness
CWE-502
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
5 Sep 2017

Practice this CVE, free

Classified as

References

Related CVEs