Test for pre-auth RCE via deserialization
When testing a target like target.com, look for a deserialization endpoint such as /invoke/ that accepts application/x-wmidatabin content. Try sending a payload with a DT_IDATCODABLE type tag (0x12) and a class name that implements IDataCodable, such as com.wm.ps.serviceMock.MockObject. If the server instantiates the class, it may be possible to execute arbitrary code. Check if the WmServiceMock package is active on the target, as it can register allowlist entries that bypass security checks. To confirm the vulnerability, try uploading and executing arbitrary Java bytecode through the deserialization endpoint. If successful, this could allow for remote code execution without authentication.
Follow #deserialization or #ibm for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.