一、 漏洞 CVE-2020-26217 基础信息
漏洞信息
                                        # XStream中的远程代码执行漏洞

## 概述
XStream 在 1.4.14 之前的版本中存在远程代码执行漏洞。此漏洞允许远程攻击者通过操纵处理的输入流来运行任意 shell 命令。

## 影响版本
XStream 1.4.14 之前的版本

## 细节
该漏洞仅影响使用 blocklist 的用户,使用 XStream 安全框架 allowlist 的用户不受影响。官方建议升级到 1.4.14 版本以修复此漏洞,并为无法升级的用户提供代码修复方案。

## 影响
- 允许远程攻击者执行任意 shell 命令。
- 仅影响使用 blocklist 的用户,不影响使用 allowlist 的用户。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Remote Code Execution in XStream
来源:美国国家漏洞数据库 NVD
漏洞描述信息
XStream before version 1.4.14 is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker to run arbitrary shell commands only by manipulating the processed input stream. Only users who rely on blocklists are affected. Anyone using XStream's Security Framework allowlist is not affected. The linked advisory provides code workarounds for users who cannot upgrade. The issue is fixed in version 1.4.14.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
来源:美国国家漏洞数据库 NVD
漏洞类别
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源:美国国家漏洞数据库 NVD
漏洞标题
XStream 操作系统命令注入漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
XStream是XStream(Xstream)团队的一个轻量级的、简单易用的开源Java类库,它主要用于将对象序列化成XML(JSON)或反序列化为对象。 XStream 1.4.14之前版本存在操作系统命令注入漏洞,该漏洞源于容易受到远程代码执行的攻击。攻击者可利用该漏洞仅通过操纵已处理的输入流来运行任意shell命令。只有依赖黑名单的用户才会受到影响。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
授权问题
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2020-26217 的公开POC
# POC 描述 源链接 神龙链接
1 CVE-2020-26217 XStream RCE POC https://github.com/novysodope/CVE-2020-26217-XStream-RCE-POC POC详情
2 CVE-2020-26217 && XStream RCE https://github.com/Al1ex/CVE-2020-26217 POC详情
3 xstream with CVE-2020-26217 https://github.com/epicosy/XStream-1 POC详情
4 XStream before 1.4.14 is susceptible to remote code execution. An attacker can run arbitrary shell commands 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. Users who rely on blocklists are affected. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-26217.yaml POC详情
三、漏洞 CVE-2020-26217 的情报信息