J2EE Misconfiguration: Weak Access Permissions

Abstract
Permission to invoke EJB methods should not be granted to the ANYONE role.

Description
If the EJB deployment descriptor contains one or more method permissions that grant access to the special ANYONE role, it indicates that access control for the application has not been fully thought through or that the application is structured in such a way that reasonable access control restrictions are impossible.

Examples
The following deployment descriptor grants ANYONE permission to invoke the Employee EJB's method named getSalary.

 ...		  ANYONE Employee getSalary   ...	

Related Countermeasures
Category:Access Control