Java
Java : Privileged operation in public method
Classification
OWASP Top 10 2013
OWASP Top 10 2017
OWASP Top 10 2021
PCI DSS 4.0
HIPAA
CWE/SANS Top 25 2011
CWE/SANS Top 25 2021
Overview
Public method calls the operation that requires elevated privileges.
The code contained in the public method can be called by any external code.
Public methods that perform potentially dangerous actions are especially undesirable in the code of libraries or in environments where external code can be injected into the system at runtime.
MEDIUM
DerScanner Severity Score
Check your Java code for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
