> For the complete documentation index, see [llms.txt](https://doc.engenius.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.engenius.ai/engenius-cloud-esp/security-advisories/tunnelvision-vulnerability-bypass-vpn-encapsulation.md).

# TunnelVision vulnerability (bypass VPN encapsulation)

Last updated: May-22-2024

<table data-header-hidden><thead><tr><th width="223"></th><th></th></tr></thead><tbody><tr><td><strong>CVE #</strong></td><td>CVE-2024-3661</td></tr><tr><td><strong>Publication Date</strong></td><td>2024-05-06</td></tr><tr><td><strong>Severity</strong></td><td>High</td></tr><tr><td><strong>Reference</strong></td><td><p><a href="https://www.leviathansecurity.com/research/tunnelvision">1. TunnelVision</a></p><p><a href="https://nvd.nist.gov/vuln/detail/CVE-2024-3661">2. </a><a href="https://nvd.nist.gov/vuln/detail/CVE-2024-3661">CVE-202403661-TunnelVision vulnerability</a></p></td></tr><tr><td><strong>Status</strong></td><td>Confirmed</td></tr></tbody></table>

## Overview <a href="#overview" id="overview"></a>

[CVE-2024-3661](https://nvd.nist.gov/vuln/detail/CVE-2024-3661), also known as "**TunnelVision**," is a critical vulnerability that allows attackers to bypass VPN encapsulation and redirect traffic outside the VPN tunnel using **DHCP option 121**. This vulnerability can result in routing traffic without encryption through a VPN, ultimately exposing it to the internet via a side channel created by the attacker.

## Details <a href="#details" id="details"></a>

The TunnelVision vulnerability exploits **DHCP option 121,** which is used to specify classless static routes for the client's routing table. An attacker can set up a rogue DHCP server that assigns malicious routing instructions to users' devices using option 121. When the devices renew their DHCP lease, they receive routing instructions prioritizing the attacker's server over the VPN tunnel. This causes the traffic to be routed without encryption through the VPN, eventually being redirected to the internet via the attacker's side channel.

## **Solution**

#### **1. Enable DHCP Snooping**:

Implement DHCP snooping on LAN switches to prevent rogue DHCP servers and harmful DHCP traffic. DHCP snooping restricts network access to clients with specified IP and/or MAC addresses and includes ARP security for controlling ARP packets within the network.

#### **2. Ignore DHCP Option 121**:

Configure the VPN client to disregard DHCP option 121 during VPN activation to prevent unintended routing changes. Although this option typically adds classless static routes to the client's routing table, ignoring these routes might disrupt network connectivity. Therefore, proceed with caution and test thoroughly in a controlled environment before deploying widely.

## **Current Status**

* **ECS/EXT Ethernet Switches**: Current models support DHCP snooping to prevent rogue DHCP servers.
* **SecuPoint VPN Client (SSL VPN)**: This client does not support DHCP option 121, thus mitigating the risk from this specific vulnerability.
* **Future Enhancements**: ESG/ECW devices will include logging and detection capabilities for multiple DHCP servers to provide advanced protection.

## **Summary**

EnGenius products are equipped to protect against the TunnelVision vulnerability. Implementing DHCP snooping and ignoring DHCP option 121 are effective measures to mitigate this risk. Stay updated with future device enhancements for additional security features.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.engenius.ai/engenius-cloud-esp/security-advisories/tunnelvision-vulnerability-bypass-vpn-encapsulation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
