Record summary

CVE-2021-39146 has a selected CVSS score of 8.5 (high); EIP currently links 1 Nuclei template.

Description

XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. XStream 1.4.18 uses no longer a blacklist by default, since it cannot be secured for general purpose.

Description source: CVE List

Exploitation context

Available material

Nuclei templates
1

Affected products and versions

2
ProductSourceVersion rangeStatus
CVE List< 1.4.18affected

com.thoughtworks.xstream:xstream

Browse Maven / com.thoughtworks.xstream:xstream
GitHub AdvisoryBefore 1.4.18 · Fixed in 1.4.18affected

Nuclei templates

1
ProjectDiscoveryHIGHXStream 1.4.18 - Arbitrary Code ExecutionCVSS 8.5

XStream 1.4.18 is susceptible to remote code execution. An attacker can execute commands of the host by manipulating the processed input stream, thereby making it possible to obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site. Setups which followed XStream's security recommendations with an allow-list are not impacted.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected system.

Remediation

Upgrade XStream to a version that is not affected by CVE-2021-39146.

WeaknessesCWE-434
Authorspwnhxl
Template tagscve2021cvexstreamdeserializationrcexstream_projectvuln
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
CPE: cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:*

Source: ProjectDiscovery

References

Showing 12 of 16