top of page
作家相片Samuel

Nmap NSE Category vulns Script:http-vuln-cve2015-1427 Groovy腳本引擎中存在的漏洞

已更新:8月26日


Nmap Script指令摘要

這段腳本試圖檢測一個漏洞,CVE-2015-1427,該漏洞允許攻擊者利用這個API的特性來獲得未經授權的遠程代碼執行(RCE)。


Elasticsearch版本1.3.0-1.3.7和1.4.0-1.4.2在Groovy腳本引擎中存在漏洞。該漏洞允許攻擊者構建Groovy腳本,逃避沙箱,並以運行Elasticsearch Java VM的用戶身份執行shell命令。


Nmap Script指令參數

command

輸入要執行的shell命令。腳本默認輸出Java和Elasticsearch的版本。


invasive

如果設置為true,則在沒有索引的情況下創建一個索引。


slaxml.debug

參見slaxml庫的文檔。


http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

參見http庫的文檔。


vulns.short, vulns.showall

參見vulns庫的文檔。


smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

參見smbauth庫的文檔。


Nmap Script指令範例

nmap --script=http-vuln-cve2015-1427 --script-args command= 'ls' <targets>

Nmap Script指令輸出

http-vuln-cve2015-1427:
|   VULNERABLE:
|   ElasticSearch CVE-2015-1427 RCE Exploit
|     State: VULNERABLE (Exploitable)
|     IDs:  CVE:CVE-2015-1427
|     Risk factor: High  CVSS2: 7.5
|       The vulnerability allows an attacker to construct Groovy
|           scripts that escape the sandbox and execute shell commands as the user
|           running the Elasticsearch Java VM.
|     Exploit results:
|       ElasticSearch version: 1.3.7
|       Java version: 1.8.0_45
|     References:

Nmap Script作者:

Gyanendra Mishra Daniel Miller

License: Same as Nmap--See https://nmap.org/book/man-legal.html


Nmap
Nmap

 

延伸閱讀

5 次查看

Comments


bottom of page