id: java-rmi-detect info: name: Java Remote Method Invocation Protocol - Detect author: F1tz severity: info description: | Java Remote Method Invocation protocol is susceptible to information disclosure. It allows for unauthenticated network attacks, which can result in unauthorized operating system takeover including arbitrary code execution. classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N cvss-score: 0 cwe-id: CWE-200 metadata: max-request: 1 tags: network,rmi,java,detect,detection,tcp tcp: - inputs: - data: "{{hex_decode('4a524d4900024b')}}" host: - "{{Hostname}}" read-size: 1024 matchers: - type: regex part: raw regex: - "^N\\x00\\x0e(\\d{1,3}\\.){3}\\d{1,3}\\x00\\x00" # digest: 4b0a0048304602210090b8180cd17c32578ac4b80894d7947daa9396a1ee2d8078789995cdf0afe8b1022100995cc836616b50c205a70ed78b48e80c387430ad1372b600d90a83afd7c7092c:922c64590222798bb761d5b6d8e72950