Description
The Java implementation of AMF3 deserializers used in GraniteDS, version 3.1.1.G, may allow instantiation of arbitrary classes via their public parameter-less constructor and subsequently call arbitrary Java Beans setter methods. The ability to exploit this vulnerability depends on the availability of classes in the class path that make use of deserialization. A remote attacker with the ability to spoof or control information may be able to send serialized Java objects with pre-set properties that result in arbitrary code execution 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-2022-43409 Vulnerability in maven package org.jenkins-ci.plugins.workflow:workflow-support
CVE-2013-4317 Vulnerability in maven package org.apache.cloudstack:cloudstack
CVE-2017-16219 Vulnerability in npm package yttivy
CVE-2017-3156 Vulnerability in maven package org.apache.cxf:cxf-rt-rs-security-oauth2
CVE-2018-8815 Vulnerability in maven package org.opencms:opencms-core