Recently we faced a version of Oracle WebLogic vulnerable to CVE-2017-10271. The issue can be exploited to execute arbitrary Java code (and consequently arbitrary commands on the operating system of the application server).
The exploitation of the issue usually gives no output in server responses (it is “blind”). The best detection methods to find and confirm the presence of issues like this one are:
- External service interaction (usually DNS resolution)
- Time based
DNS resolution payloads have been published but our target implements strong egress filtering (including DNS resolution). In these situations, the best detection method in my option is the time based one.
This is a working time based detection payload (sleep of 10 seconds):
<object class="java.lang.Thread" method="sleep">
To check for this issue the payload should be sent to the following paths:
*** EDIT: as the reporter of the vulnerability noted on Reddit, the CVE number is wrong and this seems to be widespread. The correct number is CVE-2017-10352 ***