CVE-2020-26258
MEDIUM NUCLEIXStream <1.4.15 - Server-Side Request Forgery via XML Unmarshalling
Title source: manualExploitation Summary
EIP tracks 5 public exploits for CVE-2020-26258. PoCs published by JAckLosingHeart, dawetmaster, andikahilmy. A Nuclei detection template is also available.
AI-analyzed exploit summary This PoC demonstrates a deserialization vulnerability in XStream (CVE-2020-26258) by parsing a malicious XML file. The exploit leverages unsafe deserialization to achieve arbitrary code execution.
Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.15, a Server-Side Forgery Request vulnerability can be activated when unmarshalling. The vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.15. The reported vulnerability does not exist if running Java 15 or higher. No user is affected who followed the recommendation to setup XStream's Security Framework with a whitelist! Anyone relying on XStream's default blacklist can immediately switch to a whilelist for the allowed types to avoid the vulnerability. Users of XStream 1.4.14 or below who still want to use XStream default blacklist can use a workaround described in more detailed in the referenced advisories.
Exploits (5)
This PoC demonstrates a deserialization vulnerability in XStream (CVE-2020-26258) by parsing a malicious XML file. The exploit leverages unsafe deserialization to achieve arbitrary code execution.
The repository contains benchmarking code for XStream but lacks any exploit code or technical details related to CVE-2020-26258. It appears to be a placeholder or incomplete repository.
The repository contains only benchmarking code and no exploit PoC for CVE-2020-26258. It lacks any functional exploit or technical analysis of the vulnerability.
This repository contains a minimal Java stub for CVE-2020-26258, an XStream deserialization vulnerability. It lacks exploit payloads or malicious XML content, serving only as a basic template for testing.
This is a working proof-of-concept for CVE-2020-26258, an SSRF vulnerability in XStream versions before 1.4.15. The exploit leverages deserialization of a crafted XML payload to trigger an SSRF request to an attacker-controlled endpoint.
Nuclei Templates (1)
References (14)
Scores
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N