In Jboss Application Server as shipped with Red Hat Enterprise Application Platform 5.2, it was found that the doFilter method in the ReadOnlyAccessFilter of the HTTP Invoker does not restrict classes for which it performs deserialization and thus allowing an attacker to execute arbitrary code via crafted serialized data.
https://veriti.ai/blog/vulnerable-villain-when-hackers-get-hacked/
https://github.com/gottburgm/Exploits/tree/master/CVE-2017-12149
https://bugzilla.redhat.com/show_bug.cgi?id=1486220