指令類型:portrule
下載:https://svn.nmap.org/nmap/scripts/rmi-vuln-classloader.nse
指令摘要
測試Java rmiregistry是否允許類別加載。rmiregistry的默認配置允許從遠程URL加載類別,這可能導致遠程代碼執行。供應商(Oracle/Sun)將此分類為設計特性。
基於mihi的原始Metasploit模組。
參考資料:
指令參數
vulns.short, vulns.showall
查看vulns庫的文檔。
指令範例
nmap --script=rmi-vuln-classloader -p 1099 <target>
指令輸出
PORT STATE SERVICE
1099/tcp open rmiregistry
| rmi-vuln-classloader:
| 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:
|_ https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/misc/java_rmi_server.rb
作者:
Aleksandar Nikolic
License: Same as Nmap--See https://nmap.org/book/man-legal.html
隨選即看研討會
延伸閱讀
CyberScope Nmap 滲透測試手持式網路分析儀,整合了 Nmap 功能,為站點存取層提供全面的網路安全風險評估、分析、和報告——包括所有的端點和網路探索、有線與無線網路安全、漏洞評估 (Nmap) 以及網段和設定驗證;IT 人員透過單一工具以及單一介面,即可快速且即時的掌握企業或組織的各種混合式網路環境 (有線、無線、PoE)、各種連網終端裝置的拓樸、架構、設定、網段、效能、直到網路安全評估。