{"id":"MSF-multi--misc--java_rmi_server","name":"Java RMI Server Insecure Default Configuration Java Code Execution","description":"This module takes advantage of the default configuration of the RMI Registry and RMI Activation services, which allow loading classes from any remote (HTTP) URL. As it invokes a method in the RMI Distributed Garbage Collector which is available via every RMI endpoint, it can be used against both rmiregistry and rmid, and against most other (custom) RMI endpoints as well. Note that it does not work against Java Management Extension (JMX) ports since those do not support remote class loading, unless another RMI endpoint is active in the same Java process. RMI method calls do not support or require any sort of authentication.","cves":["CVE-2011-3556"],"author":"mihi","published":"2011-10-15","platform":"Java,Linux,OSX,Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/9e02ac35d81e745446e23f3b552dce2eea215a8a/modules/exploits/multi/misc/java_rmi_server.rb","path":"modules/exploits/multi/misc/java_rmi_server.rb","revision":"9e02ac35d81e745446e23f3b552dce2eea215a8a","filename":"java_rmi_server.rb","vulnerabilities":[{"id":"CVE-2011-3556","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unspecified vulnerability in the Java Runtime Environment component in Oracle Java SE JDK and JRE 7, 6 Update 27 and earlier, 5.0 Update 31 and earlier, 1.4.2_33 and earlier, and JRockit R28.1.4 and earlier allows remote attackers to affect confidentiality, integrity, and availability, related to RMI, a different vulnerability than CVE-2011-3557.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2011-3556","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2011-3556"},"updatedAt":"2024-08-06T23:37:48.223Z","retrievedAt":"2026-11-26T17:16:23.202Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--misc--java_rmi_server.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--misc--java_rmi_server","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--misc--java_rmi_server/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--misc--java_rmi_server/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}