CVE-2013-7285CWE-78command-injection

CVE-2013-7285

Critical · published May 15, 2019

Patch now

High probability of exploitation

CVSS calls it critical at 9.8. It sits in the 99.7th percentile for exploit probability.

CVSS v3.1
9.8
EPSS
84%
Percentile
99.7
In the wild
Unconfirmed
What it is

⚠️ A crafty XML input could let an attacker run any command they want! With Xstream API versions up to 1.4.6 and 1.4.10, a small oversight in security initialization is all it takes. 🔥 Think of it like a restaurant where a waiter accepts orders without checking if they're supposed to be handling the food prep — one wrong dish might lead to disaster! Here, unverified input can trigger unintended commands instead of just being treated as simple data. An attacker could exploit this gap to execute arbitrary commands on your server, potentially compromising sensitive data or disrupting services. This could lead to data breaches or a complete system takeover, which would be absolutely devastating!

Put simply

Think of it like a restaurant where a waiter accepts orders without checking if they're supposed to be handling the food prep — one wrong dish might lead to disaster! Here, unverified input can trigger unintended commands instead of just being treated as simple data. This vulnerability arises from the Xstream API's failure to properly initialize its security framework, allowing malicious users to manipulate the input stream while unmarshaling XML or JSON data. This oversight can lead directly to remote command execution.

What to do

An attacker could exploit this gap to execute arbitrary commands on your server, potentially compromising sensitive data or disrupting services. This could lead to data breaches or a complete system takeover, which would be absolutely devastating! To safeguard your application, ensure you're using Xstream API version 1.4.10 or higher, where this issue has been addressed. It’s also wise to review all input handling processes to verify security frameworks are initialized properly. Don't forget to run thorough security audits! You've got this! With these steps, you'll be protecting your system in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.84362 · 99.7th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2019-05-15T21:29Z
Affected products (4)
ProductVersionsFixed in
oracle/endeca_information_discovery_studioall versions—
apache/activemqall versions—
xstream/xstream≤ 1.4.6—
xstream/xstreamall versions—
References (18)
http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html · [email protected]http://seclists.org/oss-sec/2014/q1/69 · [email protected]http://web.archive.org/web/20140204133306/http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html · [email protected]https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1%40%3Cissues.activemq.apache.org%3E · [email protected]https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369%40%3Cissues.activemq.apache.org%3E · [email protected]https://www.mail-archive.com/user%40xstream.codehaus.org/msg00604.html · [email protected]https://www.mail-archive.com/user%40xstream.codehaus.org/msg00607.html · [email protected]https://www.oracle.com/security-alerts/cpuoct2020.html · [email protected]https://x-stream.github.io/CVE-2013-7285.html · [email protected]http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/oss-sec/2014/q1/69 · af854a3a-2127-422b-91ae-364da2661108http://web.archive.org/web/20140204133306/http://blog.diniscruz.com/2013/12/xstream-remote-code-execution-exploit.html · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/6d3d34adcf3dfc48e36342aa1f18ce3c20bb8e4c458a97508d5bfed1%40%3Cissues.activemq.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/dcf8599b80e43a6b60482607adb76c64672772dc2d9209ae2170f369%40%3Cissues.activemq.apache.org%3E · af854a3a-2127-422b-91ae-364da2661108https://www.mail-archive.com/user%40xstream.codehaus.org/msg00604.html · af854a3a-2127-422b-91ae-364da2661108https://www.mail-archive.com/user%40xstream.codehaus.org/msg00607.html · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuoct2020.html · af854a3a-2127-422b-91ae-364da2661108https://x-stream.github.io/CVE-2013-7285.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 15 MAY 16:54Z
    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…
    cvelistv5