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
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/14/2020
Lock-Pickers Face an Uncertain Future Online
Seth Rosenblatt, Contributing Writer,  8/10/2020
Hacking It as a CISO: Advice for Security Leadership
Kelly Sheridan, Staff Editor, Dark Reading,  8/10/2020
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
7 New Cybersecurity Vulnerabilities That Could Put Your Enterprise at Risk
In this Dark Reading Tech Digest, we look at the ways security researchers and ethical hackers find critical vulnerabilities and offer insights into how you can fix them before attackers can exploit them.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2020-17475
PUBLISHED: 2020-08-14
Lack of authentication in the network relays used in MEGVII Koala 2.9.1-c3s allows attackers to grant physical access to anyone by sending packet data to UDP port 5000.
CVE-2020-0255
PUBLISHED: 2020-08-14
** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2020-10751. Reason: This candidate is a duplicate of CVE-2020-10751. Notes: All CVE users should reference CVE-2020-10751 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidenta...
CVE-2020-14353
PUBLISHED: 2020-08-14
** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2017-18270. Reason: This candidate is a duplicate of CVE-2017-18270. Notes: All CVE users should reference CVE-2017-18270 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidenta...
CVE-2020-17464
PUBLISHED: 2020-08-14
** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
CVE-2020-17473
PUBLISHED: 2020-08-14
Lack of mutual authentication in ZKTeco FaceDepot 7B 1.0.213 and ZKBiosecurity Server 1.0.0_20190723 allows an attacker to obtain a long-lasting token by impersonating the server.