Skip to content
RCE Advisory Intermediate CVE-2018-3952

NordVPN VPN client connect privilege escalation vulnerability

The NordVPN client's service, running with system privileges, executed OpenVPN with a user-supplied configuration file. A validation routine intended to block dangerous options could be bypassed by quoting option names, allowing an attacker to run arbitrary commands as system.

Paul Rascagneres Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An exploitable code execution vulnerability exists in the connect functionality of NordVPN 6.14.28.0. A specially crafted configuration file can cause a privilege escalation, resulting in the execution of arbitrary commands with system privileges.

Paul Rascagneres, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary commands with system privileges, leading to full compromise of the machine.

What the attacker needed

Local access to the NordVPN client; ability to supply a crafted configuration file

The fix

The validation should normalise or reject quoted option names before passing the file to OpenVPN; the text does not state that this specific bypass was fixed.

How it was found

  1. Create an OpenVPN configuration file containing quoted dangerous options.
  2. The GUI passes the configuration file to the privileged service.
  3. The service runs OpenVPN with the file, and the quoted options are executed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The VPN app has two parts: a normal user interface and a background service with high privileges. The service runs a helper program using a settings file that the user interface creates. The check on that file could be tricked by putting quotes around option names, so the helper ran extra commands with high privileges.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Paul Rascagneres

View all

1 more disclosed report, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.