I found another way to bypass Cloudflare Warp lock!
The WARP iOS client allowed users to bypass the Lock WARP switch by enabling both the 'Disable for cellular networks' and 'Disable for Wi-Fi networks' settings simultaneously. This caused the client to disconnect, letting the user evade Zero Trust policies.
Originally disclosed on HackerOne
- Triaged in 46 hours
- Fixed in 47 days
- Paid in 23 days
- Disclosed after 5 months
Summary by the program
It was possible to bypass Lock WARP switch feature on WARP iOS mobile client by enabling both "Disable for cellular networks" and "Disable for Wi-Fi networks" switches at once in the application settings. Such configuration caused WARP client to disconnect and allowed the user to bypass restrictions and policies enforced by the Zero Trust platform. The issue was fixed in version 6.14 of the iOS mobile client.
What the report shows
The target is the WARP mobile client for iOS, part of the Cloudflare Public Bug Bounty programme. The feature under test is the Lock WARP switch, a WARP setting that is meant to stop a user from turning the tunnel off. Organisations use it so that the Zero Trust policies they enforce on a device cannot simply be switched off by the person holding it.
The researcher found that the lock could be bypassed from inside the application settings. The trick was to enable two switches at the same time:
- "Disable for cellular networks"
- "Disable for Wi-Fi networks"
With both enabled, the WARP client disconnected. Once disconnected, the user was no longer subject to the restrictions and policies enforced by the Zero Trust platform, which is exactly what the lock exists to prevent.
The report was rated high severity with a CVSS score of 7.1, under the weakness category "Client-Side Enforcement of Server-Side Security". A bounty of 1,000 USD was paid, and the issue was fixed in version 6.14 of the iOS mobile client. The report was disclosed on 7 November 2022.
Root cause
The report does not explain the underlying cause; it records the configuration that bypassed the lock. The lock is presented as a restriction on the WARP switch, but the two per-network disable switches are separate controls that also affect connectivity. When both are set, the client disconnects.
Impact
The actor here is the user of the device. By disconnecting WARP, they escape the Zero Trust policies that the organisation relies on the client to apply. The report describes the result as bypassing the restrictions and policies enforced by the Zero Trust platform; it does not enumerate which policies or what data becomes reachable.
How this kind of bug works
Many security products ship a "lock" or "tamper protection" control that is meant to be authoritative. The control is usually a single boolean in the client, checked at the one place the UI expects it to matter. The bug class appears when the product has more than one way to reach the same protected state change. A settings screen may offer per-network toggles, a kill switch, a pause button, a profile import, a deep link or a background service command, and each of these can independently stop the tunnel. If the lock is checked in the switch handler but not in the other handlers, the lock is advisory rather than enforced.
The deeper issue is where the decision lives. If the client alone decides whether the tunnel may stop, a user with control of the client can find a path that skips the check. If the server side records and enforces the expected state, for example by refusing to issue credentials or by flagging a device that reports itself disconnected while locked, the client-side gap matters much less. Defence in depth means both: the client refuses every route to the protected state change, and the backend notices when the state changes anyway.
How to test for it
This class of bug is found by mapping every path to the protected action, not just the obvious one.
- Identify the protected state change. Here it is the tunnel going down; in other products it might be disabling a filter, removing an agent or clearing a policy.
- Enumerate every control that can cause it: primary toggles, per-interface or per-network switches, pause and resume, scheduled disables, profile or configuration import, URL schemes, notification actions, and any local API the app exposes.
- For each control, set the lock first, then exercise the control and observe whether the protected state change still happens. Combinations matter: two individually harmless settings may together trigger the change, as in this report.
- Check the state after the change, not just the UI. Confirm whether the tunnel is actually down and whether the backend still believes the device is compliant.
- Repeat after a restart and after reconnecting, to see whether the client re-applies the lock or silently stays down.
A positive result is a reproducible sequence, starting from a locked configuration, that ends with the protected state changed and the policy no longer applied. Record the exact steps and the client version. Common false positives are a UI that shows the switch off while the tunnel is still up, a temporary drop during network handover, and a state that the backend corrects within seconds. Verify the effective state from outside the app before reporting.
How it is fixed
There are two layers. The issue was fixed in version 6.14 of the iOS client. That way a future client-side gap does not translate directly into a policy bypass.
Hunting notes
Lock and tamper-protection features are common in endpoint agents, VPN clients, browser extensions with enforced policies, mobile device management agents and parental-control products. Recon signals include settings screens with several overlapping toggles, documentation that describes a lock as preventing the user from changing a setting, and any client that reports its own compliance state to a backend. When you find one, read the documentation for the lock carefully and compare it with every control the app exposes. To make the report land, show the locked configuration, the exact sequence, the resulting state verified independently of the UI, and the policy consequence.
What happened, in plain words
Cloudflare WARP is an app that creates a private, encrypted tunnel between a device and Cloudflare's network. Organisations use it to send a phone or laptop's internet traffic through their own security rules, called Zero Trust policies. Think of the tunnel as a staff-only corridor: while you are inside it, the organisation's rules apply to everything you do.
The feature under test is the Lock WARP switch. It is a setting an administrator turns on so that the person holding the device cannot switch the tunnel off. The lock exists so that the policies cannot simply be abandoned by the user.
The researcher found that the lock could be bypassed from inside the app's own settings screen. The trick was to turn on two switches at the same time:
- "Disable for cellular networks"
- "Disable for Wi-Fi networks"
With both enabled, the WARP client disconnected. Once disconnected, the user was no longer subject to the restrictions and policies enforced by the Zero Trust platform, which is exactly what the lock is meant to prevent.
The report was rated high severity with a CVSS score of 7.1, under the weakness category "Client-Side Enforcement of Server-Side Security". A bounty of 1,000 USD was paid, and the issue was fixed in version 6.14 of the iOS mobile client. The report was disclosed on 7 November 2022.
Why it worked
The report does not explain the underlying cause; it records the configuration that bypassed the lock. The lock is presented as a restriction on the WARP switch, but the two per-network disable switches are separate controls that also affect connectivity. When both are set, the client disconnects.
A useful comparison is a building where the front door has a guard but the fire exit is propped open: the rule exists, but only one of the ways out is watched.
Who is affected and what it means
The actor here is the user of the device. By disconnecting WARP, they escape the Zero Trust policies that the organisation relies on the client to apply. The report describes the result as bypassing the restrictions and policies enforced by the Zero Trust platform; it does not enumerate which policies or what data becomes reachable.
In general, how this kind of bug works
Many security products ship a "lock" or "tamper protection" control that is meant to be authoritative. The control is usually a single on/off value in the client, checked at the one place the interface expects it to matter. The bug class appears when the product has more than one way to reach the same protected state change. A settings screen may offer per-network toggles, a kill switch, a pause button, a profile import, a deep link or a background service command, and each of these can independently stop the tunnel. If the lock is checked in the switch handler but not in the other handlers, the lock is advisory rather than enforced.
The deeper issue is where the decision lives. If the client alone decides whether the tunnel may stop, a user with control of the client can find a path that skips the check. If the server side records and enforces the expected state, for example by refusing to issue credentials or by flagging a device that reports itself disconnected while locked, the client-side gap matters much less. Defence in depth means both: the client refuses every route to the protected state change, and the backend notices when the state changes anyway.
In general, how to test for it
This class of bug is found by mapping every path to the protected action, not just the obvious one.
- Identify the protected state change. Here it is the tunnel going down; in other products it might be disabling a filter, removing an agent or clearing a policy.
- Enumerate every control that can cause it: primary toggles, per-interface or per-network switches, pause and resume, scheduled disables, profile or configuration import, URL schemes, notification actions, and any local API the app exposes.
- For each control, set the lock first, then exercise the control and observe whether the protected state change still happens. Combinations matter: two individually harmless settings may together trigger the change, as in this report.
- Check the state after the change, not just the interface. Confirm whether the tunnel is actually down and whether the backend still believes the device is compliant.
- Repeat after a restart and after reconnecting, to see whether the client re-applies the lock or silently stays down.
A positive result is a reproducible sequence, starting from a locked configuration, that ends with the protected state changed and the policy no longer applied. Record the exact steps and the client version. Common false positives are an interface that shows the switch off while the tunnel is still up, a temporary drop during network handover, and a state that the backend corrects within seconds. Verify the effective state from outside the app before reporting.
In general, how it is fixed
There are two layers. The issue was fixed in version 6.14 of the iOS client. That way a future client-side gap does not translate directly into a policy bypass.
In general, where to look
Lock and tamper-protection features are common in endpoint agents, VPN clients, browser extensions with enforced policies, mobile device management agents and parental-control products. Recon signals include settings screens with several overlapping toggles, documentation that describes a lock as preventing the user from changing a setting, and any client that reports its own compliance state to a backend. When you find one, read the documentation for the lock carefully and compare it with every control the app exposes. To make the report land, show the locked configuration, the exact sequence, the resulting state verified independently of the interface, and the policy consequence.
Glossary
- WARP: Cloudflare's app that creates an encrypted tunnel between a device and Cloudflare's network.
- Zero Trust: a security model where every request is checked against policy rather than trusting a device because it is on the internal network.
- Zero Trust policies: the rules an organisation applies to traffic passing through its protected path.
- Lock WARP switch: a WARP setting that stops a user from turning the tunnel off.
- Tunnel: the encrypted connection carrying a device's traffic to the organisation's security controls.
- Client: the app running on the user's device, as opposed to the servers it talks to.
- Server side / backend: the remote systems that the app communicates with and that hold the authoritative records.
- Client-side enforcement of server-side security: a weakness where a rule decided centrally is left for the app on the device to enforce, so a user who controls the app can get around it.
- CVSS: a standard scoring system for the severity of a security flaw; 7.1 is in the high range.
- Bounty: a payment made by a bug bounty programme to a researcher who reports a valid issue.
- Bug bounty programme: a scheme where an organisation invites outside researchers to report security flaws, usually for a reward.
- Disclosure: the public release of a report after the issue has been fixed.
- Boolean: a value that is either true or false, such as a lock being on or off.
- Choke point: a single place in the code that every relevant action must pass through, so a check placed there cannot be skipped.
- Defence in depth: layering several independent protections so that one failing does not remove all protection.
- False positive: a finding that looks like a bug but is not, because the real state is different from what the interface suggests.
- Recon: the early stage of research where you look for signals that suggest where a bug might be.
- Endpoint agent: software installed on a device to enforce an organisation's security settings.
- VPN client: an app that routes a device's traffic through a private network.
- Mobile device management (MDM) agent: software that lets an organisation configure and control phones and laptops.
- Deep link: a URL that opens a specific screen or action inside an app.
- Kill switch: a feature that blocks all traffic if the protected tunnel drops, so nothing leaks outside it.