Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. e.g. JSON.
Details
XStream does not provide security checks when creating Java objects. When untrusted data is processed, an attacker can provide crafted data that allows arbitrary code execution resulting in access to the host system that is only limited by the privileges of the running application.
PoC
The application is vulnerable by using this component. Issue will result when built as is without upgrading the dependency
Summary
Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. e.g. JSON.
Details
XStream does not provide security checks when creating Java objects. When untrusted data is processed, an attacker can provide crafted data that allows arbitrary code execution resulting in access to the host system that is only limited by the privileges of the running application.
PoC
The application is vulnerable by using this component. Issue will result when built as is without upgrading the dependency
Impact
Root Cause__ xstream-1.4.5.jarcom/thoughtworks/xstream/XStream.class(, 1.4.7) xstream-1.4.5.jarcom/thoughtworks/xstream/converters/reflection/ReflectionConverter.class(, 1.4.7)
Will impact the server where code is ran.