cbcvebase.
CVE-2013-7285
published 2019-05-15

CVE-2013-7285: 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…

PriorityP183critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
84.36%
99.7th percentile
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.

Affected

30 ranges· showing 25
VendorProductVersion rangeFixed in
apacheactivemq
debianlibxstream-java< libxstream-java 1.4.7-1 (bookworm)libxstream-java 1.4.7-1 (bookworm)
debianlibxstream-java< libxstream-java 1.4.11-1 (bookworm)libxstream-java 1.4.11-1 (bookworm)
jenkinsjenkins_core
oraclebanking_platform
oraclebanking_platform
oraclebanking_platform
oraclebanking_platform2.4.0 – 2.10.0
oraclebusiness_activity_monitoring
oraclebusiness_activity_monitoring
oraclebusiness_activity_monitoring
oraclecommunications_billing_and_revenue_management_elastic_charging_engine
oraclecommunications_billing_and_revenue_management_elastic_charging_engine
oraclecommunications_diameter_signaling_router8.0.0 – 8.2.2
oraclecommunications_unified_inventory_management
oraclecommunications_unified_inventory_management
oracleendeca_information_discovery_studio
oracleendeca_information_discovery_studio
oracleretail_xstore_point_of_service
oracleutilities_framework
oracleutilities_framework
oracleutilities_framework
oracleutilities_framework
oracleutilities_framework4.3.0.1.0 – 4.3.0.6.0
oraclewebcenter_portal

Detection & IOCsextracted from sources · hover to see the quote

url/openmrs-standalone/module/reporting/definition/saveSerializedDefinition.form?type=org.openmrs.OpenmrsObject&serializationClass=org.openmrs.module.serialization.xstream.XStreamSerializer&serializedData=org.openmrs.OpenmrsObjectcalc.exestart&uuid=c1bf0730-e69e-11e3-ac10-0800200c9a66&name=test&subtype=org.openmrs.OpenmrsObject
pathmodule/reporting/definition/saveSerializedDefinition
commandcalc.exe
  • Monitor for unauthenticated HTTP GET/POST requests to the OpenMRS endpoint `saveSerializedDefinition` with parameters `serializationClass` set to `org.openmrs.module.serialization.xstream.XStreamSerializer` and arbitrary `serializedData` content — this is the unauthenticated RCE vector.
  • Alert on requests to `saveSerializedDefinition` containing the hardcoded UUID `c1bf0730-e69e-11e3-ac10-0800200c9a66`, which is the constant UUID inserted by the Appointment Scheduling UI module and required for successful exploitation.
  • Detect XStream deserialization exploitation attempts by monitoring for XML/JSON payloads containing `java.lang.ProcessBuilder` or `java.beans.EventHandler` class references being passed to XStream unmarshalling endpoints.
  • In Jenkins environments, monitor for low-privileged authenticated users triggering XML deserialization via the Jenkins XML API, which was the exploitation path for SECURITY-105 (CVE-2013-7285).
  • Flag XStream deserialization payloads containing `javax.imageio.ImageIO$ContainsFilter`, `jdk.nashorn.internal.objects.NativeString`, or patterns matching `.*\$LazyIterator` or `javax\.crypto\..*` as these are known gadget types exploited via this vulnerability.
  • The nuclei template for this CVE checks for an outbound HTTP callback with `User-Agent: curl` to an interactsh URL, indicating OOB (out-of-band) command execution via the XStream payload — monitor for unexpected outbound curl requests from Java application servers.
  • ·The vulnerability only triggers if XStream's security framework has NOT been initialized. Deployments that have configured a whitelist or blacklist via XStream's Security Framework are not affected.
  • ·Affected XStream versions are up to 1.4.6 and version 1.4.10 specifically (1.4.10 was a regression). Versions 1.4.7–1.4.9 and 1.4.11+ are not affected.
  • ·For OpenMRS, unauthenticated exploitation requires BOTH the Reporting Module 0.9.7 AND the Appointment Scheduling UI Module 1.0.3 to be installed simultaneously.
  • ·A valid UUID for an existing definition must be supplied; exploitation fails with a NullPointerException otherwise. The hardcoded UUID from the Appointment Scheduling UI module satisfies this requirement.
  • ·Red Hat OpenShift Container Platform (3.11 and 4) Jenkins packages are NOT affected due to JEP-200 and SECURITY-383 mitigations already applied to the bundled XStream library.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
ghsa9.8CRITICAL
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.