#VU12898 Deserialization of untrusted data in Artemis


Published: 2018-05-21

Vulnerability identifier: #VU12898

Vulnerability risk: High

CVSSv3.1: 7.9 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-4978

CWE-ID: CWE-502

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Artemis
Client/Desktop applications / Messaging software

Vendor: Apache Foundation

Description
The vulnerability allows a remote authenticated attacker to execute arbitrary code on the target system.

The weakness exists in the getObject method of the javax.jms.ObjectMessage class in the (1) JMS Core client, (2) Artemis broker, and (3) Artemis REST component due to deserialization of untrusted data. A remote attacker with permission to send messages to the Artemis broker can deserialize arbitrary objects and execute arbitrary code by leveraging gadget classes being present on the Artemis classpath.

Successful exploitation of the vulnerability may result in system compromise.

Mitigation
Update to version 1.4.0.

Vulnerable software versions

Artemis: 1.0.0 - 1.3.0


External links
http://mail-archives.apache.org/mod_mbox/activemq-users/201609.mbox/%3CCAH6wpnqzeNtpykT7emtDU1-GV7Av...


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability