ADVISORIES

GitHub Advisory Database

GHSA-gg9m-fj3v-r58c

REST Plugin in Apache Struts uses an XStreamHandler with an instance of XStream for deserialization without any type filtering

High Known exploited CVE-2017-9805

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.struts:struts2-rest-plugin
From 2.1.1 before 2.3.34 (fixed in 2.3.34)
Mavenorg.apache.struts:struts2-rest-plugin
From 2.5.0 before 2.5.13 (fixed in 2.5.13)

References