Skip to content

Unsafe Spring Service Exporter

Description

The class $CLASS extends RemoteInvocationSerializingExporter, which can lead to security vulnerabilities.

Examples

Insecure Code

java
class MyClass extends org.springframework.remoting.rmi.RemoteInvocationSerializingExporter

Secure Code

java
class MyClass extends org.springframework.remoting.rmi.RemoteInvocationEncodableExporter

Remediation

Extend a safer class, such as RemoteInvocationEncodableExporter, or ensure proper security measures are in place.

Rule Details

FieldValue
IDCODE-0238
CategoryInsecureConfig
SeverityLOW
CWE
ConfidenceLOW
ImpactLOW
LikelihoodLOW
ExploitabilityCOMPLEX
Tagsspring, rmi
OWASPN/A