Test for unauthenticated RCE in Java servlets
When investigating a target, look for Java servlets that are exposed to the Internet without authentication. Test if these servlets pass user-controlled input to Runtime.exec(String[]), which can lead to remote code execution (RCE). Use an inert probe, such as a sleep command, to verify reachability and test for execution without causing harm. Check the servlet's response code and verify if it returns a 200 status code without authentication. This technique can help identify unauthenticated RCE vulnerabilities, such as the one found in the /reportExporter/Export endpoint.
Follow #api, #authentication or #rce for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.