ID:4657 - Exploit for Deserialization of untrusted data in Apache Struts - CVE-2017-9805

 
Main Vulnerability Database Exploits ID:4657 - Exploit for Deserialization of untrusted data in Apache Struts - CVE-2017-9805

ID:4657 - Exploit for Deserialization of untrusted data in Apache Struts - CVE-2017-9805

Published: September 25, 2020


Vulnerability identifier: #VU8111
Vulnerability risk: High
CVE-ID: CVE-2017-9805
CWE-ID: CWE-502
Exploitation vector: Remote access
Vulnerable software:
Apache Struts

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the server.

The weakness exists due to absent filtration in XStream instance when deserializing XML data within the REST Plugin. A remote attacker can upload a specially crafted XML file to vulnerable Apache Struts installation, trigger the XStreamHandler to process malicious XML payload and execute arbitrary core on the target system.

Successful exploitation of the vulnerability is possible in case the attacker is able to upload XML.

Remediation

Update to version 2.5.13.