Completely remove VPN profile from locked WARP iOS cient.
Originally disclosed on HackerOne
- Triaged in 2 hours
- Fixed in 2 months
- Paid in 51 days
- Disclosed after 4 months
Summary by the program
It was possible for a user to delete VPN profile from WARP mobile client on iOS platform despite the Lock WARP switch feature being enabled on Zero Trust Platform. This led to bypassing policies and restriction enforced for enrolled devices by the Zero Trust platform. The issue was fixed in Warp iOS mobile client v. 6.15.
What the report shows
The target is the WARP mobile client on iOS, part of Cloudflare's Zero Trust offering. Zero Trust administrators can enable the Lock WARP switch, a setting that is meant to stop enrolled users from removing the WARP VPN profile from their device. The switch is documented in Cloudflare's WARP settings reference.
The researcher found that a user could still delete the VPN profile from the WARP iOS client even with the Lock WARP switch enabled on the Zero Trust platform. In other words, the client did not honour the server-side restriction that the administrator had configured.
The report is a short summary written by the program rather than a long narrative from the researcher, so it does not describe the individual taps, screens or requests used to reach the deletion. What it does state is the sequence at the level of behaviour:
- An administrator enables the Lock WARP switch for enrolled devices on the Zero Trust platform.
- A user on the WARP iOS client deletes the VPN profile from the device.
- The deletion succeeds despite the lock, so the device is no longer bound by the policies and restrictions the Zero Trust platform enforces for enrolled devices.
The outcome recorded for the report is a high severity rating with a CVSS score of 7.3, a bounty of 1,000 USD, and a weakness classification of Client-Side Enforcement of Server-Side Security. The issue was fixed in WARP iOS client version 6.15. The report contains no HTTP requests, payloads, commands or code, and no screenshots or videos.
Root cause
The weakness class named in the report is the key: client-side enforcement of server-side security. The Lock WARP switch is a policy decision made on the Zero Trust platform, but the enforcement that matters, preventing removal of the VPN profile, appears to have been left to the iOS client. When the client is the thing being constrained, and the user controls the client, the constraint can be sidestepped. The report does not spell out the exact code path, so The report does not describe the exact code path or mechanism.
Impact
The report frames the impact as bypassing the policies and restrictions that the Zero Trust platform enforces for enrolled devices. A device that can shed its VPN profile is no longer bound by the policies and restrictions the Zero Trust platform enforces for enrolled devices. The report does not go further than that, so it does not claim a specific follow-on attack, data exposure or lateral movement; the effect described is the bypass of the policies and restrictions enforced for enrolled devices.
How this kind of bug works
Many products split security decisions between a server and a client agent. The server holds the policy, and the agent on the endpoint is responsible for applying it: keeping a tunnel up, refusing to unenrol, blocking a settings change, or preventing the user from disabling protection. This design is convenient, because the agent has the local privileges needed to act, but it creates a trust problem. The user owns the device and the agent runs on it, so any check that lives only in the agent can be attacked by the person the check is meant to restrain.
The bug class appears whenever a restriction is enforced solely on the client and the server does not verify, after the fact, that the restriction still holds. Typical variants include a settings screen that hides the disable button but leaves the underlying action reachable, a local configuration flag that the client reads but never revalidates against the server, and a removal flow that asks the server for permission but treats a network failure or an unexpected response as approval. The common thread is that the server's intent is never confirmed at the moment of the sensitive action, or the confirmation is done in a way the client can influence.
Defences follow from that. The server should be the authority: sensitive local actions should require a fresh, authenticated server decision, and the server should record and act on the resulting state change (for example, treating a device that has lost its profile as non-compliant and cutting its access). Client-side checks remain useful as user experience, but they should never be the only barrier.
How to test for it
This class is tested by comparing what the server intends with what the client actually permits.
- Identify the administrative control. Look for settings in the management console that are described as locks, enforcement, tamper protection or mandatory configuration, and note exactly what behaviour they are supposed to guarantee on the endpoint.
- Set up two accounts or roles: an administrator who enables the control, and an enrolled end user on the client under test.
- Confirm the control is active from the server side, then attempt the action it is meant to prevent from the client: removing the profile, disabling the agent, changing the protected setting, or unenrolling the device.
- Try the obvious path first, then the less obvious ones: hidden or disabled UI elements, deep links into settings screens, the platform's own settings app rather than the product's, and actions taken while offline or with the network interrupted so the client cannot reach the server.
- Watch what the server records. A positive result is not only that the local action succeeded, but that the server still considers the device compliant, or that the device retains access it should have lost.
Common false positives are worth ruling out. A UI element that is merely greyed out but whose action is still blocked server-side is not a finding. A local change that the server detects on its next check-in and remediates may be a weaker issue than it first appears, so note the detection delay. And a device that can be wiped or reset at the operating system level is usually out of scope, because no client can prevent that; the interesting case is the product's own removal path.
How it is fixed
The standard fix is to move the decision to the server and make the client ask every time. The client should request authorisation for the sensitive action, the server should evaluate the current policy and the device's enrolment state, and the client should proceed only on an explicit approval. Failures, timeouts and unexpected responses should be treated as denial, not consent. The server should also treat the loss of the protected state as a compliance event: if a device reports that its profile is gone, access should be revoked or the device flagged, so that removing the profile does not quietly buy the user anything. The report records that the issue was fixed in WARP iOS client version 6.15.
Hunting notes
This bug class tends to hide in endpoint agents and management clients: VPN and secure web gateway clients, MDM enrolment apps, endpoint detection agents, browser extensions managed by policy, and any desktop or mobile app that receives configuration from a central console. It also appears in web applications where an administrative setting is reflected in the user's own interface, such as a forced password change or a disabled feature that the user can re-enable locally.
Recon signals include documentation for lock, enforcement or tamper-protection settings; release notes that mention hardening of a disable or removal flow; a management console that exposes per-device compliance state; and clients that cache policy locally. If the console shows a device as compliant after you have removed protection, that discrepancy is the evidence.
To make a report land, show the administrative intent, the action that defeats it, and the server-side consequence in one chain: the setting enabled, the local action performed, and the device still trusted or still able to reach protected resources. Keep the demonstration on your own enrolled device and account, and avoid touching other users' data.
What happened, in plain words
Cloudflare offers a product called WARP, a mobile app that creates a VPN connection from a phone or laptop to Cloudflare's network. A VPN is a private tunnel between your device and a company's servers: traffic goes through that tunnel instead of straight out to the internet. Companies use WARP together with Cloudflare's Zero Trust platform, a management console where an administrator sets rules for the devices that belong to the company.
One of those rules is the Lock WARP switch. When an administrator turns it on, users on enrolled devices are not supposed to be able to remove the WARP VPN profile from their device. A VPN profile is the saved configuration that tells the operating system how to build the tunnel. If the profile is gone, the tunnel is gone, and the device is no longer subject to the company's rules.
The researcher, oracularhades, found that a user could still delete the VPN profile from the WARP iOS client even with the Lock WARP switch enabled. The client did not honour the restriction the administrator had configured on the server side. The report is a short summary written by the program rather than a long narrative, so it does not describe the individual taps, screens or requests used to reach the deletion.
The sequence, at the level of behaviour, was:
- An administrator enables the Lock WARP switch for enrolled devices on the Zero Trust platform.
- A user on the WARP iOS client deletes the VPN profile from the device.
- The deletion succeeds despite the lock, so the device is no longer bound by the policies and restrictions the Zero Trust platform enforces for enrolled devices.
The report was rated high severity with a CVSS score of 7.3, a bounty of 1,000 USD, and a weakness classification of Client-Side Enforcement of Server-Side Security. The issue was fixed in WARP iOS client version 6.15. The report contains no HTTP requests, payloads, commands or code, and no screenshots or videos.
Why it matters
The weakness class named in the report is the key: client-side enforcement of server-side security. The Lock WARP switch is a policy decision made on the Zero Trust platform, but the enforcement that matters, preventing removal of the VPN profile, appears to have been left to the iOS client. When the client is the thing being constrained, and the user controls the client, the constraint can be sidestepped. The report does not spell out the exact code path, so The report does not describe the exact code path or mechanism.
The report frames the impact as bypassing the policies and restrictions that the Zero Trust platform enforces for enrolled devices. A device that can shed its VPN profile is no longer bound by the policies and restrictions the Zero Trust platform enforces for enrolled devices. The report does not go further than that, so it does not claim a specific follow-on attack, data exposure or lateral movement; the effect described is the bypass of the policies and restrictions enforced for enrolled devices.
In general, how this kind of bug works
Many products split security decisions between a server and a client agent. The server holds the policy, and the agent on the endpoint is responsible for applying it: keeping a tunnel up, refusing to unenrol, blocking a settings change, or preventing the user from disabling protection. This design is convenient, because the agent has the local privileges needed to act, but it creates a trust problem. The user owns the device and the agent runs on it, so any check that lives only in the agent can be attacked by the person the check is meant to restrain. A useful comparison is a nightclub bouncer who is told by the manager to keep a list of banned guests, but who is also the only person checking the list: if the bouncer can be persuaded to ignore it, the manager's instruction means nothing.
The bug class appears whenever a restriction is enforced solely on the client and the server does not verify, after the fact, that the restriction still holds. Typical variants include a settings screen that hides the disable button but leaves the underlying action reachable, a local configuration flag that the client reads but never revalidates against the server, and a removal flow that asks the server for permission but treats a network failure or an unexpected response as approval. The common thread is that the server's intent is never confirmed at the moment of the sensitive action, or the confirmation is done in a way the client can influence.
Defences follow from that. The server should be the authority: sensitive local actions should require a fresh, authenticated server decision, and the server should record and act on the resulting state change (for example, treating a device that has lost its profile as non-compliant and cutting its access). Client-side checks remain useful as user experience, but they should never be the only barrier.
In general, how to test for it
This class is tested by comparing what the server intends with what the client actually permits.
- Identify the administrative control. Look for settings in the management console that are described as locks, enforcement, tamper protection or mandatory configuration, and note exactly what behaviour they are supposed to guarantee on the endpoint.
- Set up two accounts or roles: an administrator who enables the control, and an enrolled end user on the client under test.
- Confirm the control is active from the server side, then attempt the action it is meant to prevent from the client: removing the profile, disabling the agent, changing the protected setting, or unenrolling the device.
- Try the obvious path first, then the less obvious ones: hidden or disabled UI elements, deep links into settings screens, the platform's own settings app rather than the product's, and actions taken while offline or with the network interrupted so the client cannot reach the server.
- Watch what the server records. A positive result is not only that the local action succeeded, but that the server still considers the device compliant, or that the device retains access it should have lost.
Common false positives are worth ruling out. A UI element that is merely greyed out but whose action is still blocked server-side is not a finding. A local change that the server detects on its next check-in and remediates may be a weaker issue than it first appears, so note the detection delay. And a device that can be wiped or reset at the operating system level is usually out of scope, because no client can prevent that; the interesting case is the product's own removal path.
In general, how it is fixed
The standard fix is to move the decision to the server and make the client ask every time. The client should request authorisation for the sensitive action, the server should evaluate the current policy and the device's enrolment state, and the client should proceed only on an explicit approval. Failures, timeouts and unexpected responses should be treated as denial, not consent. The server should also treat the loss of the protected state as a compliance event: if a device reports that its profile is gone, access should be revoked or the device flagged, so that removing the profile does not quietly buy the user anything. The report records that the issue was fixed in WARP iOS client version 6.15.
In general, where to look
This bug class tends to hide in endpoint agents and management clients: VPN and secure web gateway clients, MDM enrolment apps, endpoint detection agents, browser extensions managed by policy, and any desktop or mobile app that receives configuration from a central console. It also appears in web applications where an administrative setting is reflected in the user's own interface, such as a forced password change or a disabled feature that the user can re-enable locally.
Recon signals include documentation for lock, enforcement or tamper-protection settings; release notes that mention hardening of a disable or removal flow; a management console that exposes per-device compliance state; and clients that cache policy locally. If the console shows a device as compliant after you have removed protection, that discrepancy is the evidence.
To make a report land, show the administrative intent, the action that defeats it, and the server-side consequence in one chain: the setting enabled, the local action performed, and the device still trusted or still able to reach protected resources. Keep the demonstration on your own enrolled device and account, and avoid touching other users' data.
Glossary
- VPN: a private tunnel between a device and a company's network, so traffic travels through that tunnel rather than straight to the internet.
- VPN profile: the saved configuration on a device that tells the operating system how to build the VPN tunnel.
- WARP: Cloudflare's VPN client app for phones and computers.
- Zero Trust platform: Cloudflare's management console where administrators set rules for enrolled devices.
- Lock WARP switch: a Zero Trust setting intended to stop enrolled users from removing the WARP VPN profile from their device.
- Enrolled device: a device that has been registered with the company's management platform and is subject to its rules.
- Client: the app running on the user's own device, as opposed to the server.
- Server: the remote system that holds policy and data, controlled by the company rather than the user.
- Client-side enforcement of server-side security: a flaw where a rule decided on the server is only checked by the client, so the user can bypass it.
- CVSS score: a standard numeric rating of how severe a vulnerability is; 7.3 falls in the high range.
- Bounty: a payment made to a researcher who reports a valid security issue.
- False positive: a suspected issue that turns out not to be a real vulnerability.
- Compliance state: the server's record of whether a device currently meets the required rules.
- MDM: mobile device management, software that centrally configures and controls phones and tablets.
- Endpoint agent: software installed on a user's device that applies rules received from a central console.
- Deep link: a URL or link that opens a specific screen inside an app directly.
- Tamper protection: a feature meant to stop users from disabling or altering security software on their own device.