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.

Endpoint Security //

VPN

End of Bibblio RCM includes -->
9/12/2018
09:35 AM
Larry Loeb
Larry Loeb
Larry Loeb

NordVPN & ProtonVPN Offerings Vulnerable to Code Execution Attack

A report from Cisco Talos found that VPNs developed by NordVPN and ProtonVPN were each vulnerable to the same code execution attack.

You know NordVPN. The company has an aggressive TV campaign touting its Virtual Private Network software. The ads promise that this VPN will protect users from all sorts of threats via its "military-grade" encryption.

There's a problem though.

Both NordVPN and ProtonVPN each have these -- let's call them "flaws" for argument's sake -- that Fabius Watson of VerSprite Security disclosed in March, which could allow an attacker to execute arbitrary code with elevated privileges. It's a little something that would torpedo the reason you used a VPN in the first place.

Both vendors rushed out patches at that time, hoping the public wouldn't notice.

But that wasn't the end of it -- oh, no.

(Source: Flickr)
(Source: Flickr)

Cisco Talos has discovered two similar vulnerabilities in the ProtonVPN and NordVPN VPN clients. The brand spanking new vulnerabilities allow attackers to execute code as an administrator on Microsoft Windows operating systems when starting from a standard user. The vulnerabilities were assigned CVE-2018-3952 (NordVPN) and CVE-2018-4010 (ProtonVPN).

Ooops.

Cisco basically identified a way to bypass the original patch. So, despite the original fix, it is still possible for a normal user to execute code as an administrator on a Windows system.

Let's see what's going on here.

Proton and NordVPNs use OpenVPN code as the core of their offerings.

In its research note from March, VerSprite detailed that if a DLL is sent as a plugin to the configuration file for an OpenVPN system, OpenVPN_POC.dll will be loaded and executed by OpenVPN with administrator privileges.

It seems that if the configuration contains a line starting by "plugin," "script-security," "up" or "down," then that line can execute code or commands through OpenVPN.

In response, Nord and Proton implemented a control of the content of the OpenVPN configuration sent by the user. Both had the same patch applied. The patch made sure that the configuration file did not contain those nasty keywords.

However, Talos realized that an attacker could get around this by going a bit deeper in the OpenVPN code.

Talos researchers figured out that by reading the OpenVPN source code of the configuration file parser, an attacker can add in a parse_line() function so that a keyword can be inserted between quotation marks. This allows the attacker add their own code or library in and then execute it. It's valid for OpenVPN, and it passes the checks of the VPN services.

Boom -- the VPNs are hosed again. The versions found to be vulnerable were ProtonVPN VPN Client 1.5.1 and NordVPN 6.14.28.0.

This time, each of the products took a different path to patch the problems.

For ProtonVPN, the company put the OpenVPN configuration file in the installation directory, which means that a standard user cannot modify it.

For NordVPN, the editor decided to use an XML model to generate an OpenVPN configuration file. A standard user cannot edit the template.

For the second time this year, both VPN products have shown how vulnerabilities affecting their base code can be exploited to cause a critical loss of capability. It seems that just putting a nice veneer on top of open source functionality may not be a great way to develop a commercial product.

Related posts:

— 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
Improving Enterprise Cybersecurity With XDR
Enterprises are looking at eXtended Detection and Response technologies to improve their abilities to detect, and respond to, threats. While endpoint detection and response is not new to enterprise security, organizations have to improve network visibility, expand data collection and expand threat hunting capabilites if they want their XDR deployments to succeed. This issue of Tech Insights also includes: a market overview for XDR from Omdia, questions to ask before deploying XDR, and an XDR primer.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2022-33128
PUBLISHED: 2022-06-25
RG-EG series gateway EG350 EG_RGOS 11.1(6) was discovered to contain a SQL injection vulnerability via the function get_alarmAction at /alarm_pi/alarmService.php.
CVE-2021-40894
PUBLISHED: 2022-06-24
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in underscore-99xp v1.7.2 when the deepValueSearch function is called.
CVE-2022-32997
PUBLISHED: 2022-06-24
The RootInteractive package in PyPI v0.0.5 to v0.0.19b0 was discovered to contain a code execution backdoor via the request package. This vulnerability allows attackers to access sensitive user information and digital currency keys, as well as escalate privileges.
CVE-2022-32998
PUBLISHED: 2022-06-24
The cryptoasset-data-downloader package in PyPI v1.0.0 to v1.0.1 was discovered to contain a code execution backdoor via the request package. This vulnerability allows attackers to access sensitive user information and digital currency keys, as well as escalate privileges.
CVE-2022-32999
PUBLISHED: 2022-06-24
The cloudlabeling package in PyPI v0.0.1 was discovered to contain a code execution backdoor via the request package. This vulnerability allows attackers to access sensitive user information and digital currency keys, as well as escalate privileges.