REST Plugin in Apache Struts uses an XStreamHandler with an instance of XStream for deserialization without any type filtering
Apache Software Foundation Apache Struts
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Nov 3, 2021. US federal agencies must patch by May 3, 2022.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.apache.struts:struts2-rest-plugin Maven |
|
|
Original description
The REST Plugin in Apache Struts 2.1.1 through 2.3.x before 2.3.34 and 2.5.x before 2.5.13 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.
From the CVE record · apache