Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Privacy

Port Shadow Attack Allows VPN Traffic Interception, Redirection

Researchers show how the Port Shadow technique against VPNs can allow MitM attacks, enabling threat actors to intercept and redirect traffic. 

VPN attack

A team of researchers warns that VPNs are affected by a vulnerability that can be exploited to launch man-in-the-middle (MitM) attacks, enabling threat actors to intercept and redirect traffic.

The research was conducted by representatives of Arizona State University, University of New Mexico, University of Michigan, and the University of Toronto’s Citizen Lab. 

The attack technique, named Port Shadow and tracked as CVE-2021-3773, builds on research first presented by Benjamin Mixon-Baca and Jedidiah R. Crandall back in 2021. Both were involved in the new research project on behalf of Arizona State University. 

A paper detailing the research was published this week, and Citizen Lab, which often conducts research focusing on online privacy and security, has published a summary. 

VPNs, or virtual private networks, are designed for securely accessing remote resources, and they are often used to bypass censorship mechanisms and to hide an individual’s identity online. 

The Port Shadow attack enables threat actors to target others who are using the same VPN server. Specifically, VPN servers have a shared resource called a port, with each connection being assigned to a port. 

Advertisement. Scroll to continue reading.

According to the researchers, an attacker can “shadow their own information on a victim’s port as a shared resource”.

“By carefully crafting packets from within the attacker’s own connection to the VPN server and from a remote Internet location controlled by the attacker, it is possible to carry out attacks on other VPN users who are using the same VPN server in a manner that is very similar to the attacks that could be carried out on shared WiFi,” they explained. 

The researchers demonstrated how an attacker can leverage Port Shadow to act as an in-path router between the targeted user and the VPN server, enabling them to intercept and redirect encrypted traffic, deanonymize a VPN peer, and conduct port scans. 

The Port Shadow attack has been found to work against OpenVPN, WireGuard, and OpenConnect running on Linux or FreeBSD — although FreeBSD is less vulnerable.

“We disclosed this vulnerability to the VPN software developers, Linux, and FreeBSD, but, because of the way the vulnerability works, the mitigation strategy is limited to using specific firewalls rules as opposed to a code fix,” Citizen Lab explained.

The researchers have shared some recommendations for VPN developers and providers that should help prevent Port Shadow attacks. In the case of end users, connecting to a private VPN server is the best way to protect themselves against such attacks. ShadowSocks and Tor are not impacted.

Related: Exploitation of Recent Check Point VPN Zero-Day Soars

Related: New ‘TunnelVision’ Technique Leaks Traffic From Any VPN System

Related: VPN Apps on Google Play Turn Android Devices Into Proxies

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Cyber AI & Automation Summit pushes the boundaries of security discussions by exploring the implications and applications of predictive AI, machine learning, and automation in modern cybersecurity programs.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Jensen Huang has been reinstated as President and CEO at NVIDIA.

Lindsey Cerkovnik has joined Anthropic as Head of Vulnerability Disclosure and Security Community.

Kirsten Davies has been appointed National Cyber Director.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.