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
Threaded  |  Newest First  |  Oldest First
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
Practical Network Security Approaches for a Multicloud, Hybrid IT World
The report covers areas enterprises should focus on for their multicloud/hybrid cloud security strategy: -increase visibility over the environment -learning cloud-specific skills -relying on established security frameworks -re-architecting the network
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2022-30333
PUBLISHED: 2022-05-09
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
CVE-2022-23066
PUBLISHED: 2022-05-09
In Solana rBPF versions 0.2.26 and 0.2.27 are affected by Incorrect Calculation which is caused by improper implementation of sdiv instruction. This can lead to the wrong execution path, resulting in huge loss in specific cases. For example, the result of a sdiv instruction may decide whether to tra...
CVE-2022-28463
PUBLISHED: 2022-05-08
ImageMagick 7.1.0-27 is vulnerable to Buffer Overflow.
CVE-2022-28470
PUBLISHED: 2022-05-08
marcador package in PyPI 0.1 through 0.13 included a code-execution backdoor.
CVE-2022-1620
PUBLISHED: 2022-05-08
NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 in GitHub repository vim/vim prior to 8.2.4901. NULL Pointer Dereference in function vim_regexec_string at regexp.c:2729 allows attackers to cause a denial of service (application crash) via a crafted input.