CWE-9

J2EE Misconfiguration: Weak Access Permissions for EJB Methods

Medium

Description

If elevated access rights are assigned to EJB methods, then an attacker can take advantage of the permissions to exploit the product.

Potential Impact

How to Fix

Architecture and Design

Follow the principle of least privilege when assigning access rights to EJB methods. Permission to invoke EJB methods should not be granted to the ANYONE role.

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-9 vulnerabilities in your codebase.

Get Security Assessment