Description
The Java implementation of AMF3 deserializers used in Flamingo amf-serializer by Exadel, version 2.2.0, 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/97380
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-25914 Vulnerability in maven package com.google.cloud.tools:jib-core
CVE-2018-14041 Vulnerability in maven package org.webjars.bower:bootstrap
CVE-2023-34617 Vulnerability in maven package com.owlike:genson
CVE-2021-23375 Vulnerability in npm package psnode
CVE-2019-16728 Vulnerability in maven package org.webjars.npm:dompurify