Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-21342— A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host

CVSS 5.3 · Medium EPSS 0.87% · P75
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2021-21342

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host
Source: NVD (National Vulnerability Database)
Vulnerability Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where the processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in a server-side forgery request. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
可信数据的反序列化
Source: NVD (National Vulnerability Database)
Vulnerability Title
XStream 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
XStream是XStream团队的一个轻量级的、简单易用的开源Java类库,它主要用于将对象序列化成XML(JSON)或反序列化为对象。 XStream 存在代码问题漏洞,攻击者可利用该漏洞可以操纵已处理的输入流并替换或注入对象,从而导致服务器端伪造请求。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
x-streamxstream < 1.4.16 -

II. Public POCs for CVE-2021-21342

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-21342

登录查看更多情报信息。

Same Patch Batch · x-stream · 2021-03-22 · 11 CVEs total

CVE-2021-213417.5 HIGHXStream can cause a Denial of Service
CVE-2021-213466.1 MEDIUMXStream is vulnerable to an Arbitrary Code Execution attack
CVE-2021-213476.1 MEDIUMXStream is vulnerable to an Arbitrary Code Execution attack
CVE-2021-213496.1 MEDIUMA Server-Side Forgery Request can be activated unmarshalling with XStream to access data s
CVE-2021-213455.8 MEDIUMXStream is vulnerable to a Remote Command Execution attack
CVE-2021-213515.4 MEDIUMXStream is vulnerable to an Arbitrary Code Execution attack
CVE-2021-213435.3 MEDIUMXStream is vulnerable to an Arbitrary File Deletion on the local host when unmarshalling a
CVE-2021-213445.3 MEDIUMXStream is vulnerable to an Arbitrary Code Execution attack
CVE-2021-213485.3 MEDIUMXStream is vulnerable to an attack using Regular Expression for a Denial of Service (ReDos
CVE-2021-213505.3 MEDIUMXStream is vulnerable to an Arbitrary Code Execution attack

IV. Related Vulnerabilities

V. Comments for CVE-2021-21342

No comments yet


Leave a comment