cbcvebase.
CVE-2019-12181
published 2019-06-17

CVE-2019-12181: A privilege escalation vulnerability exists in SolarWinds Serv-U before 15.1.7 for Linux.

PriorityP275high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
65.98%
99.2th percentile
A privilege escalation vulnerability exists in SolarWinds Serv-U before 15.1.7 for Linux.

Affected

2 ranges
VendorProductVersion rangeFixed in
solarwindsserv-u_ftp_server< 15.1.715.1.7
solarwindsserv-u_mft_server< 15.1.715.1.7

Detection & IOCsextracted from sources · hover to see the quote

path/usr/local/Serv-U/Serv-U
path/tmp/sh
command/usr/local/Serv-U/Serv-U -prepareinstallation
  • The Serv-U binary at /usr/local/Serv-U/Serv-U is setuid root; monitor for it being executed with the -prepareinstallation flag by non-root, non-installer users, which is the trigger for exploitation.
  • Monitor process execution for /usr/local/Serv-U/Serv-U being launched with ARGV[0] containing shell metacharacters (semicolons, quotes) — a hallmark of the exploit injecting commands via the process name.
  • Alert on creation of setuid files in /tmp (e.g., /tmp/sh) shortly after Serv-U process execution, as the exploit copies /bin/bash there and sets the setuid bit.
  • Detect use of bash 'exec -a' with a crafted ARGV[0] containing semicolons and quotes passed to the Serv-U binary, which is the mechanism used by all known exploit variants.
  • Monitor for random-named hidden files (dot-prefixed, alphanumeric) created in writable directories (e.g., /tmp) with setuid root permissions, consistent with the Metasploit module's payload drop pattern.
  • ·The vulnerability only affects Linux installations of Serv-U FTP Server prior to version 15.1.7; Windows installations are not affected.
  • ·Exploitation requires local access (an existing shell or meterpreter session) on the target system; this is a local privilege escalation, not a remote code execution.
  • ·The Metasploit module checks that the /tmp (or WritableDir) mount is not nosuid before proceeding; defenders should ensure /tmp is mounted nosuid as a mitigation.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/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.