Vulnerability Note VU#112992
Apache Struts 2 framework REST plugin insecurely deserializes untrusted XML data
Apache Struts 2 framework, versions 2.5 to 2.5.12, with REST plugin insecurely deserializes untrusted XML data. A remote, unauthenticated attacker can leverage this vulnerability to execute arbitrary code in the context of the Struts application.
CWE-502: Deserialization of Untrusted Data - CVE-2017-9805
In Apache Struts 2 framework, versions 2.5 to 2.5.12, the REST plugin uses XStreamHandler with an instance of XStream to deserialize XML data. Because there is no type filtering, a remote, unauthenticated attacker may send a specially crafted XML payload to execute arbitrary code in the context of the Struts application.
A remote, unauthenticated attacker may send a specially crafted XML payload to execute arbitrary code on vulnerable servers in the context of the Struts application.
Apply an update
Remove or limit the REST plugin
Vendor Information (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|Apache Struts||Affected||-||06 Sep 2017|
CVSS Metrics (Learn More)
Man Yue Mo of lgtm is credited with reporting this vulnerability to the vendor.
This document was written by Joel Land.
- CVE IDs: CVE-2017-9805
- Date Public: 05 Sep 2017
- Date First Published: 06 Sep 2017
- Date Last Updated: 06 Sep 2017
- Document Revision: 13
If you have feedback, comments, or additional information about this vulnerability, please send us email.