Skip to content
Info disclosure Write-up Intermediate

Multiple Critical Vulnerabilities in PureVPN - Remote Code Execution + IP Leak

The PureVPN Linux client failed to properly handle DNS queries, allowing them to bypass the VPN tunnel and leak to the ISP. Additionally, the client attempted to load a shared library from a user-writable path, which could allow local code execution if an attacker placed a malicious file there.

Farhan Azam Follow

Published on rafaybaloch.com

This blog post highlights two vulnerabilities found in PureVPN, one being an IP leak, which is as bad as an RCE in the VPN world, and the other being Remote Code Execution in certain conditions. PureVPN is a very popular VPN that has been in the game for more than a decade and has slowly started entering into other…

Farhan Azam, on rafaybaloch.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the client did not route DNS traffic through the VPN tunnel, and it loaded a shared library from a user-writable directory without verifying its contents.

Impact

The DNS leak could expose a user's browsing history to their ISP, and the library-loading flaw could allow local code execution or a denial of service, though the vendor argued it requires the system to already be breached.

What the attacker needed

PureVPN Linux client installed; for code execution: local access to the system

The fix

The DNS leak was fixed in a subsequent release, but the code execution issue was marked 'Won't Fix' by PureVPN and referred to the Chromium project.

How it was found

  1. Connect to the VPN using the PureVPN Linux client.
  2. Use a leak-testing website to check whether DNS queries go through the VPN.
  3. Observe that DNS requests are sent outside the tunnel to the ISP or default DNS servers.

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 write-up has not been written yet. The Original tab links to the source.

A VPN is supposed to hide your internet traffic, but this one sometimes sent DNS requests (the system that turns website names into addresses) outside the protected tunnel, so your internet provider could see which sites you visit. Separately, the app tried to load a helper file from a folder that normal users can write to, so someone with access to your computer could put a bad file there and run their own code.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Farhan Azam

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.