CVE-2018-6328
published 2018-03-14CVE-2018-6328: It was discovered that the Unitrends Backup (UB) before 10.1.0 user interface was exposed to an authentication bypass, which then could allow an…
PriorityP184critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EXPLOIT
EPSS
65.52%
99.2th percentile
It was discovered that the Unitrends Backup (UB) before 10.1.0 user interface was exposed to an authentication bypass, which then could allow an unauthenticated user to inject arbitrary commands into its /api/hosts parameters using backquotes.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| kaseya | unitrends_backup | < 10.1 | 10.1 |
Detection & IOCsextracted from sources · hover to see the quote
- →Detect POST requests to /api/hosts/ or /api/storage with an AuthToken header containing a base64-encoded SQLi bypass string (decodes to contain UNION SELECT -1). ↗
- →Detect HTTP requests to /api/hosts/ or /api/storage with the X-Requested-With: XMLHttpRequest header and an AuthToken header simultaneously — characteristic of this exploit's authentication bypass. ↗
- →Monitor for outbound ncat bind-shell connections on random ports in the 4000–5000 range originating from the Unitrends web server process (apache). ↗
- →Monitor for creation of randomly named 16-character .py files in /tmp on Unitrends appliances, followed by their execution via python and subsequent deletion. ↗
- →Detect GET requests to /api/systems/details with an AuthToken header as a pre-exploitation check probe against Unitrends UEB. ↗
- →Monitor xinetd port 1743 for unexpected local connections from the apache/web process, which is used by the privilege escalation stage to communicate with the bpd daemon. ↗
- ·The exploit targets UEB v9 via /api/storage (runs as root) and UEB v10 via /api/hosts (runs as limited/apache user); detection rules should cover both endpoints. ↗
- ·The Metasploit module defaults to PAYLOAD linux/x86/meterpreter/reverse_tcp with SSL enabled on port 443; network detections should account for encrypted HTTPS traffic. ↗
- ·The bind-shell port used in Stage 1 is randomized between 4000 and 5000 per exploit run, so port-specific firewall rules will not reliably block this stage. ↗
CVSS provenance
nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
Unitrends UEB - HTTP API Remote Code Execution (Metasploit)
exploitdb·2018-10-08·CVSS 9.8
CVE-2018-6328 [CRITICAL] Unitrends UEB - HTTP API Remote Code Execution (Metasploit)
Unitrends UEB - HTTP API Remote Code Execution (Metasploit)
---
##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule 'Unitrends UEB http api remote code execution',
'Description' => %q{
It was discovered that the api/storage web interface in Unitrends Backup (UB)
before 10.0.0 has an issue in which one of its input parameters was not validated.
A remote attacker could use this flaw to bypass authentication and execute arbitrary
commands with root privilege on the target system.
UEB v9 runs the api under root privileges and api/storage is vulnerable.
UEB v10 runs the api under limited privileges and api/hosts is vulnerable.
},
'Author' =>
[
'Cale Smith', # @0xC413
'Benny Husted', #
Exploit-DB
Unitrends UEB 10.0 - Root Remote Code Execution
exploitdb·2018-03-16·CVSS 9.8
CVE-2018-6329 [CRITICAL] Unitrends UEB 10.0 - Root Remote Code Execution
Unitrends UEB 10.0 - Root Remote Code Execution
---
# Exploit Title: Unauthenticated root RCE for Unitrends UEB 10.0
# Date: 10/17/2017
# Exploit Authors: Cale Smith, Benny Husted, Jared Arave
# Contact: https://twitter.com/iotennui || https://twitter.com/BennyHusted || https://twitter.com/0xC413
# Vendor Homepage: https://www.unitrends.com/
# Software Link: https://www.unitrends.com/download/enterprise-backup-software
# Version: 10.0.0
# Tested on: 10.0.0-2.201706252204.CentOS6, 10.0.0-5.201708151911.CentOS6
# CVE: CVE-2018-6328, CVE-2018-6329
import httplib
import urllib
import ssl
import random
import sys
import base64
import string
import socket
from optparse import OptionParser
# Print some helpful words:
print """
##################################################################
Metasploit
Unitrends UEB http api remote code execution
metasploit
Unitrends UEB http api remote code execution
Unitrends UEB http api remote code execution
It was discovered that the api/storage web interface in Unitrends Backup (UB) before 10.0.0 has an issue in which one of its input parameters was not validated. A remote attacker could use this flaw to bypass authentication and execute arbitrary commands with root privilege on the target system. UEB v9 runs the api under root privileges and api/storage is vulnerable. UEB v10 runs the api under limited privileges and api/hosts is vulnerable.
No writeups or analysis indexed.
https://support.unitrends.com/UnitrendsBackup/s/article/000001150https://support.unitrends.com/UnitrendsBackup/s/article/000006002https://www.exploit-db.com/exploits/44297/https://www.exploit-db.com/exploits/45559/https://support.unitrends.com/UnitrendsBackup/s/article/000001150https://support.unitrends.com/UnitrendsBackup/s/article/000006002https://www.exploit-db.com/exploits/44297/https://www.exploit-db.com/exploits/45559/
2018-03-14
Published