Description
The Java implementation of GraniteDS, version 3.1.1.GA, AMF3 deserializers derives class instances from java.io.Externalizable rather than the AMF3 specification's recommendation of flash.utils.IExternalizable. A remote attacker with the ability to spoof or control an RMI server connection may be able to send serialized Java objects that execute arbitrary code when deserialized.
Remediation
References
http://www.securityfocus.com/bid/97382
http://www.securityweek.com/flaws-java-amf-libraries-allow-remote-code-execution
https://codewhitesec.blogspot.com/2017/04/amf.html
https://www.kb.cert.org/vuls/id/307983
Related Vulnerabilities
CVE-2020-1912 Vulnerability in npm package hermes-engine
CVE-2020-28282 Vulnerability in maven package org.webjars.npm:getobject
CVE-2022-35278 Vulnerability in maven package org.apache.activemq:artemis-web
CVE-2023-45282 Vulnerability in npm package openmct
CVE-2018-1000160 Vulnerability in npm package @risingstack/protect