CVE Vulnerabilities

CVE-2019-18956

Deserialization of Untrusted Data

Published: Dec 17, 2019 | Modified: Jan 08, 2020
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu

Divisa Proxia Suite 9 < 9.12.16, 9.11.19, 9.10.26, 9.9.8, 9.8.43 and 9.7.10, 10.0 < 10.0.32, and 10.1 < 10.1.5, SparkSpace 1.0 < 1.0.30, 1.1 < 1.1.2, and 1.2 < 1.2.4, and Proxia PHR 1.0 < 1.0.30 and 1.1 < 1.1.2 allows remote code execution via untrusted Java deserialization. The proxia-error cookie is insecurely deserialized in every request (GET or POST). Thus, an unauthenticated attacker can easily craft a seria1.0lized payload in order to execute arbitrary code via the prepareError function in the com.divisait.dv2ee.controller.MVCControllerServlet class of the dv2eemvc.jar component. allows remote code execution via untrusted Java deserialization. The proxia-error cookie is insecurely deserialized in every request (GET or POST). Thus, an unauthenticated attacker can easily craft a serialized payload in order to execute arbitrary code via the prepareError function in the com.divisait.dv2ee.controller.MVCControllerServlet class of the dv2eemvc.jar component. Affected products include Proxia Premium Edition 2017 and Sparkspace.

Weakness

The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid.

Affected Software

Name Vendor Start Version End Version
Dv2eemvc Divisait 17-62 (including) 17-147 (including)
Dv2eemvc Divisait 18.6 (including) 18.6.42 (excluding)
Dv2eemvc Divisait 19.0 (including) 19.0.13 (excluding)
Dv2eemvc Divisait 19.1 (including) 19.1.19 (excluding)
Dv2eemvc Divisait 19.2 (including) 19.2.41 (excluding)
Dv2eemvc Divisait 19.3 (including) 19.3.37 (excluding)
Dv2eemvc Divisait 19.4 (including) 19.4.13 (excluding)
Dv2eemvc Divisait 20.0 (including) 20.0.13 (excluding)
Proxia_phr Divisait 1.0 (including) 1.0.30 (excluding)
Proxia_phr Divisait 1.1 (including) 1.1.2 (excluding)
Proxia_suite Divisait 9.0 (including) 9.12.16 (excluding)
Proxia_suite Divisait 10.0 (including) 10.0.32 (excluding)
Proxia_suite Divisait 10.1 (including) 10.1.5 (excluding)
Sparkspace Divisait 1.0 (including) 1.0.30 (excluding)
Sparkspace Divisait 1.1 (including) 1.1.2 (excluding)
Sparkspace Divisait 1.2 (including) 1.2.4 (excluding)

Extended Description

It is often convenient to serialize objects for communication or to save them for later use. However, deserialized data or code can often be modified without using the provided accessor functions if it does not use cryptography to protect itself. Furthermore, any cryptography would still be client-side security – which is a dangerous security assumption. Data that is untrusted can not be trusted to be well-formed. When developers place no restrictions on “gadget chains,” or series of instances and method invocations that can self-execute during the deserialization process (i.e., before the object is returned to the caller), it is sometimes possible for attackers to leverage them to perform unauthorized actions, like generating a shell.

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.

References