RMI Methods Accepting Arbitrary Objects
RMI remote methods that accept Object or Serializable parameters without restrictions allow attackers to send malicious serialized objects.
Preview example â JAVA
public interface RemoteService extends Remote {
String processData(Object data) throws RemoteException; // Vulnerable
void handleRequest(Serializable request) throws RemoteException; // Vulnerable
}