ID CVE-2013-7285
Summary Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may allow a remote attacker to run arbitrary shell commands by manipulating the processed input stream when unmarshaling XML or any supported format. e.g. JSON.
References
Vulnerable Configurations
  • Xstream Project Xstream 1.4.6
    cpe:2.3:a:xstream_project:xstream:1.4.6
  • Xstream Project Xstream 1.4.10
    cpe:2.3:a:xstream_project:xstream:1.4.10
CVSS
Base: 7.5
Impact:
Exploitability:
CWE CWE-77
CAPEC
  • Cause Web Server Misclassification
    An attack of this type exploits a Web server's decision to take action based on filename or file extension. Because different file types are handled by different server processes, misclassification may force the Web server to take unexpected action, or expected actions in an unexpected sequence. This may cause the server to exhaust resources, supply debug or system data to the attacker, or bind an attacker to a remote process. This type of vulnerability has been found in many widely used servers including IIS, Lotus Domino, and Orion. The attacker's job in this case is straightforward, standard communication protocols and methods are used and are generally appended with malicious information at the tail end of an otherwise legitimate request. The attack payload varies, but it could be special characters like a period or simply appending a tag that has a special meaning for operations on the server side like .jsp for a java application server. The essence of this attack is that the attacker deceives the server into executing functionality based on the name of the request, i.e. login.jsp, not the contents.
  • LDAP Injection
    An attacker manipulates or crafts an LDAP query for the purpose of undermining the security of the target. Some applications use user input to create LDAP queries that are processed by an LDAP server. For example, a user might provide their username during authentication and the username might be inserted in an LDAP query during the authentication process. An attacker could use this input to inject additional commands into an LDAP query that could disclose sensitive information. For example, entering a * in the aforementioned query might return information about all users on the system. This attack is very similar to an SQL injection attack in that it manipulates a query to gather additional information or coerce a particular return value.
  • Command Delimiters
    An attack of this type exploits a programs' vulnerabilities that allows an attacker's commands to be concatenated onto a legitimate command with the intent of targeting other resources such as the file system or database. The system that uses a filter or a blacklist input validation, as opposed to whitelist validation is vulnerable to an attacker who predicts delimiters (or combinations of delimiters) not present in the filter or blacklist. As with other injection attacks, the attacker uses the command delimiter payload as an entry point to tunnel through the application and activate additional attacks through SQL queries, shell commands, network scanning, and so on.
  • File System Function Injection, Content Based
    An attack of this type exploits the host's trust in executing remote content including binary files. The files are poisoned with a malicious payload (targeting the file systems accessible by the target software) by the attacker and may be passed through standard channels such as via email, and standard web content like PDF and multimedia files. The attacker exploits known vulnerabilities or handling routines in the target processes. Vulnerabilities of this type have been found in a wide variety of commercial applications from Microsoft Office to Adobe Acrobat and Apple Safari web browser. When the attacker knows the standard handling routines and can identify vulnerabilities and entry points they can be exploited by otherwise seemingly normal content. Once the attack is executed, the attackers' program can access relative directories such as C:\Program Files or other standard system directories to launch further attacks. In a worst case scenario, these programs are combined with other propagation logic and work as a virus.
  • Exploiting Multiple Input Interpretation Layers
    An attacker supplies the target software with input data that contains sequences of special characters designed to bypass input validation logic. This exploit relies on the target making multiples passes over the input data and processing a "layer" of special characters with each pass. In this manner, the attacker can disguise input that would otherwise be rejected as invalid by concealing it with layers of special/escape characters that are stripped off by subsequent processing steps. The goal is to first discover cases where the input validation layer executes before one or more parsing layers. That is, user input may go through the following logic in an application: In such cases, the attacker will need to provide input that will pass through the input validator, but after passing through parser2, will be converted into something that the input validator was supposed to stop.
  • Argument Injection
    An attacker changes the behavior or state of a targeted application through injecting data or command syntax through the targets use of non-validated and non-filtered arguments of exposed services or methods.
  • Manipulating Writeable Configuration Files
    Generally these are manually edited files that are not in the preview of the system administrators, any ability on the attackers' behalf to modify these files, for example in a CVS repository, gives unauthorized access directly to the application, the same as authorized users.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
exploit-db via4
description OpenMRS Reporting Module 0.9.7 - Remote Code Execution. CVE-2013-7285. Webapps exploit for java platform
id EDB-ID:39193
last seen 2016-02-04
modified 2016-01-07
published 2016-01-07
reporter Brian D. Hysell
source https://www.exploit-db.com/download/39193/
title OpenMRS Reporting Module 0.9.7 - Remote Code Execution
nessus via4
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_3E0507C6961411E3B3A500E0814CAB4E.NASL
    description Jenkins Security Advisory reports : This advisory announces multiple security vulnerabilities that were found in Jenkins core. Please reference CVE/URL list for details
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 72528
    published 2014-02-17
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72528
    title FreeBSD : jenkins -- multiple vulnerabilities (3e0507c6-9614-11e3-b3a5-00e0814cab4e)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-2372.NASL
    description This update fixes remote code execution security vulnerability by applying backported upstream patch. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 72630
    published 2014-02-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72630
    title Fedora 20 : xstream-1.3.1-9.fc20 (2014-2372)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2014-2340.NASL
    description This update fixes remote code execution security vulnerability by applying backported upstream patch. Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-19
    plugin id 72629
    published 2014-02-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72629
    title Fedora 19 : xstream-1.3.1-5.1.fc19 (2014-2340)
  • NASL family Red Hat Local Security Checks
    NASL id REDHAT-RHSA-2014-0389.NASL
    description An updated jasperreports-server-pro package that fixes one security issue is now available. The Red Hat Security Response Team has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. The Red Hat Enterprise Virtualization reports package provides a suite of pre-configured reports and dashboards that enable you to monitor the system. The reports module is based on JasperReports and JasperServer, and can also be used to create ad-hoc reports. XStream is a simple library used by the Red Hat Enterprise Virtualization reports package to serialize and de-serialize objects to and from XML. It was found that XStream could deserialize arbitrary user-supplied XML content, representing objects of any type. A remote attacker able to pass XML to XStream could use this flaw to perform a variety of attacks, including remote code execution in the context of the server running the XStream application. (CVE-2013-7285) All jasperreports-server-pro users are advised to upgrade to this updated package, which contains a backported patch to correct this issue.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 79007
    published 2014-11-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=79007
    title RHEL 6 : jasperreports-server-pro (RHSA-2014:0389)
  • NASL family CGI abuses
    NASL id JENKINS_1_551.NASL
    description The remote web server hosts a version of Jenkins or Jenkins Enterprise that is affected by multiple vulnerabilities : - A flaw in the default markup formatter allows cross-site scripting via the Description field in the user configuration. (CVE-2013-5573) - A security bypass vulnerability allows remote authenticated attackers to change configurations and execute arbitrary jobs. (CVE-2013-7285, CVE-2013-7330, CVE-2014-2058) - An unspecified flaw in the Winstone servlet allows remote attackers to hijack sessions. (CVE-2014-2060) - An input control flaw in 'PasswordParameterDefinition' allows remote attackers to disclose sensitive information including passwords. (CVE-2014-2061) - A security bypass vulnerability due to API tokens not being invalidated when a user is deleted. (CVE-2014-2062) - An unspecified flaw allows remote attackers to conduct clickjacking attacks. (CVE-2014-2063) - An information disclosure vulnerability in the 'loadUserByUsername' function allows remote attackers to determine whether a user exists via vectors related to failed login attempts. (CVE-2014-2064) - A cross-site scripting vulnerability due to improper input validation to the 'iconSize' cookie. (CVE-2014-2065) - A session fixation vulnerability allows remote attackers to hijack web sessions. (CVE-2014-2066) - An information disclosure vulnerability in the 'doIndex' function in 'hudson/util/RemotingDiagnostics.java' allows remote authenticated users with the 'ADMINISTRATOR' permission to obtain sensitive information via heapDump. (CVE-2014-2068)
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 72685
    published 2014-02-25
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72685
    title Jenkins < 1.551 / 1.532.2 and Jenkins Enterprise 1.509.x / 1.532.x < 1.509.5.1 / 1.532.2.2 Multiple Vulnerabilities
  • NASL family CGI abuses
    NASL id ARTIFACTORY_3_1_1_1.NASL
    description A version of Artifactory prior to 3.1.1.1 is hosted on the remote web server. As such, it uses a library that has a known remote code execution vulnerability.
    last seen 2019-02-21
    modified 2018-06-14
    plugin id 72966
    published 2014-03-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=72966
    title Artifactory < 3.1.1.1 XStream Remote Code Execution
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-201612-35.NASL
    description The remote host is affected by the vulnerability described in GLSA-201612-35 (XStream: Remote execution of arbitrary code) It was found that XStream would deserialize arbitrary user-supplied XML content, thus representing objects of any type. Impact : A remote attacker could pass a specially crafted XML document to XStream, possibly resulting in the execution of arbitrary code with the privileges of the process or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2016-12-13
    plugin id 95738
    published 2016-12-13
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=95738
    title GLSA-201612-35 : XStream: Remote execution of arbitrary code
packetstorm via4
data source https://packetstormsecurity.com/files/download/135150/openmrs-exec.txt
id PACKETSTORM:135150
last seen 2016-12-05
published 2016-01-06
reporter Brian D. Hysell
source https://packetstormsecurity.com/files/135150/OpenMRS-Reporting-Module-0.9.7-Remote-Code-Execution.html
title OpenMRS Reporting Module 0.9.7 Remote Code Execution
redhat via4
advisories
bugzilla
id 1100671
title Migration of a VM fails if another API allowed during migration takes a long time to finish
oval
AND
  • OR
    • comment Red Hat Enterprise Linux 6 Client is installed
      oval oval:com.redhat.rhsa:tst:20100842001
    • comment Red Hat Enterprise Linux 6 Server is installed
      oval oval:com.redhat.rhsa:tst:20100842002
    • comment Red Hat Enterprise Linux 6 Workstation is installed
      oval oval:com.redhat.rhsa:tst:20100842003
    • comment Red Hat Enterprise Linux 6 ComputeNode is installed
      oval oval:com.redhat.rhsa:tst:20100842004
  • OR
    • AND
      • comment libvirt is earlier than 0:0.10.2-29.el6_5.11
        oval oval:com.redhat.rhsa:tst:20141059005
      • comment libvirt is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110391006
    • AND
      • comment libvirt-client is earlier than 0:0.10.2-29.el6_5.11
        oval oval:com.redhat.rhsa:tst:20141059011
      • comment libvirt-client is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110391010
    • AND
      • comment libvirt-devel is earlier than 0:0.10.2-29.el6_5.11
        oval oval:com.redhat.rhsa:tst:20141059007
      • comment libvirt-devel is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110391008
    • AND
      • comment libvirt-lock-sanlock is earlier than 0:0.10.2-29.el6_5.11
        oval oval:com.redhat.rhsa:tst:20141059013
      • comment libvirt-lock-sanlock is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20120748014
    • AND
      • comment libvirt-python is earlier than 0:0.10.2-29.el6_5.11
        oval oval:com.redhat.rhsa:tst:20141059009
      • comment libvirt-python is signed with Red Hat redhatrelease2 key
        oval oval:com.redhat.rhsa:tst:20110391012
rhsa
id RHSA-2014:1059
released 2014-09-12
severity Low
title RHSA-2014:1059: libvirt bug fix update (Low)
rpms
  • libvirt-0:0.10.2-29.el6_5.11
  • libvirt-client-0:0.10.2-29.el6_5.11
  • libvirt-devel-0:0.10.2-29.el6_5.11
  • libvirt-lock-sanlock-0:0.10.2-29.el6_5.11
  • libvirt-python-0:0.10.2-29.el6_5.11
refmap via4
confirm https://x-stream.github.io/CVE-2013-7285.html
misc http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html
mlist
  • [oss-security] 20140109 Re: CVE request: remote code execution via deserialization in XStream
  • [xstream-user] 20130717 Re: Is it possible to unregister the DynamicProxyConverter using the SpringOXM wrapper
  • [xstream-user] 20130718 Re: Is it possible to unregister the DynamicProxyConverter using the SpringOXM wrapper
Last major update 15-05-2019 - 13:29
Published 15-05-2019 - 13:29
Last modified 16-05-2019 - 11:55
Back to Top