← back
CVE-2017-9805

CVE-2017-9805

CVSS 8.1 HIGHEPSS 99.5%● KEVCWE-502
In short

Apache Struts 2 has a flaw in its REST plugin that allows attackers to execute arbitrary code by sending specially crafted XML messages. The vulnerability exists because the system deserializes data without properly validating what type of objects are being created.

Technical detail

The REST Plugin's XStreamHandler deserializes XML payloads using an unrestricted XStream instance without type filtering, enabling attackers to instantiate arbitrary Java classes and execute remote code. Exploitation requires sending a malicious XML request to an affected REST endpoint; successful exploitation leads to complete system compromise.

Summary generated and translated by AI from the official 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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →