File rmi-vuln-classloader
Script types:
portrule
Categories:
intrusive, vuln
Download: http://nmap.org/svn/scripts/rmi-vuln-classloader.nse
User Summary
Tests whether Java rmiregistry allows class loading. The default configuration of rmiregistry allows loading classes from remote URLs, which can lead to remote code execution. The vendor (Oracle/Sun) classifies this as a design feature.
Based on original Metasploit module by mihi.
References:
Script Arguments
vulns.showall
See the documentation for the vulns library.Example Usage
nmap --script=rmi-vuln-classloader -p 1099 <target>
Script Output
PORT STATE SERVICE 1099/tcp open rmiregistry | rmi-vuln: | VULNERABLE: | RMI registry default configuration remote code execution vulnerability | State: VULNERABLE | Description: | Default configuration of RMI registry allows loading classes from remote URLs which can lead to remote code executeion. | | References: |_ http://dev.metasploit.com/redmine/projects/framework/repository/entry/modules/exploits/multi/misc/java_rmi_server.rb
Requires
Author: Aleksandar Nikolic
License: Same as Nmap--See http://nmap.org/book/man-legal.html


