Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

ABTV

12/6/2019
11:00 AM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Zero-Day Vulnerabilities Discovered in Enterprise-Grade VPN

Aviatrix, an enterprise VPN company with customers that include NASA, Shell and BT, has recently dealt with a vulnerability that was uncovered by Immersive Labs researcher and content engineer Alex Seymour.

Aviatrix, an enterprise VPN company with customers that include NASA, Shell and BT, has recently dealt with a vulnerability that was uncovered by Immersive Labs researcher and content engineer Alex Seymour. The descriptive blog was releasedon December 5, 2019 and outlines the specifics of the problem.

Seymour says in it that, "The vulnerability would have allowed an attacker who already had access to a machine to escalate privileges and achieve anything they wanted; for example, gaining access to files, folders and network services that the user would not previously have been able to access."

Multiple local privilege escalation vulnerabilities were discovered in the Aviatrix VPN client. On each operating system there are two main parts to the VPN client. This first is a service enabled by default post-installation, as well as the user-client application that interfaces between the user and the services.

One vulnerability is "Privilege Escalation Through Weak File Permissions" (CVE-2019-17388). Seymour found that during the VPN's installation process on Windows, Linux and FreeBSD, the permission set applied to the client's installation directory was highly permissive. The Linux, macOS and FreeBSD versions of the VPN client use the openvpn command's --up and --down flags to execute shell scripts when a VPN connection is established and terminated respectively.

Now, because of the weak file permissions that are set on the installation directory on Linux and FreeBSD, it is possible to modify these scripts. As the backend service executes the openvpn command, this can result in the script being executed with elevated privileges.

This reveal comes two months after the National Security Agency (NSA) and National Security Council (NSC) warned of state-sponsored attackers that were targeting vulnerabilities in VPNs.

Seymour noted that, "Coming hot on the heels of the UK and US Government warnings about VPN vulnerabilities, this underlines that often the technology protecting enterprises needs to be managed as tightly as the people using it. People tend to think of their VPN as one of the more secure elements of their security posture, so it should be a bit of a wakeup call for the industry."

Seymour also found a "Privilege Escalation via Service Code Execution" (CVE-2019-17387) vulnerability. The service uses certificate authentication to validate that requests stem from a valid source, which is hoped to prevent anyone except the client application from making requests to the service. But when the application is running, the needed certificates for code execution of a file can be recovered from the operating system's temporary directory; the filename is prefixed with mvLOKecsEpki. It is possible to craft requests to the service and gain code execution by passing commands wrapped in subshells in args instead of the expected file paths.

A patch for the VPN has been released (v2.4.10) and can be found at https://docs.aviatrix.com/Downloads/samlclient.html#aviatrix-vpn-client.

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Enterprise Cybersecurity Plans in a Post-Pandemic World
Download the Enterprise Cybersecurity Plans in a Post-Pandemic World report to understand how security leaders are maintaining pace with pandemic-related challenges, and where there is room for improvement.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-33600
PUBLISHED: 2021-09-28
A denial-of-service (DoS) vulnerability was discovered in the web user interface of F-Secure Internet Gatekeeper. The vulnerability occurs because of an attacker can trigger assertion via malformed HTTP packet to web interface. An unauthenticated attacker could exploit this vulnerability by sending ...
CVE-2021-33601
PUBLISHED: 2021-09-28
A vulnerability was discovered in the web user interface of F-Secure Internet Gatekeeper. An authenticated user can modify settings through the web user interface in a way that could lead to an arbitrary code execution on the F-Secure Internet Gatekeeper server.
CVE-2021-36165
PUBLISHED: 2021-09-28
RICON Industrial Cellular Router S9922L 16.10.3(3794) is affected by cleartext storage of sensitive information and sends username and password as base64.
CVE-2020-20691
PUBLISHED: 2021-09-27
An issue in Monstra CMS v3.0.4 allows attackers to execute arbitrary web scripts or HTML via bypassing the file extension filter and uploading crafted HTML files.
CVE-2020-20692
PUBLISHED: 2021-09-27
GilaCMS v1.11.4 was discovered to contain a SQL injection vulnerability via the $_GET parameter in /src/core/controllers/cm.php.