Record summary

CVE-2021-39141 has a selected CVSS score of 8.5 (high); EIP currently links 1 repository PoC and 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

Repository PoCs
1
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

Proofs of concept

1

Repository PoCs

GitHubzwjjustdoit/Xstream-1.4.17Repository PoCby zwjjustdoitStars: 62Not analyzed9 files

1.0 MiB · linked to 3 vulnerabilities

GitHub

PoC details

Nuclei templates

1
ProjectDiscoveryHIGHXStream 1.4.18 - Remote 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.

Impact

Attackers can exploit unsafe deserialization in XStream to execute arbitrary commands on the host, potentially obtaining sensitive information and compromising the entire application server.

Remediation

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

WeaknessesCWE-434
Authorspwnhxl
Template tagscvecve2021xstreamdeserializationrcexstream_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