Authorization disclaimer. This walkthrough is limited to the intentionally vulnerable PortSwigger Web Security Academy lab linked below. Test only systems you own or are explicitly authorized to assess.
Overview
Registration verifies an email address, but /my-account/change-email immediately trusts a replacement. Setting [email protected] satisfies the domain-only /admin rule.

Lab objective/setup
This intentionally vulnerable Academy exercise isolates inconsistent security controls. The supplied accounts and endpoints are used to reproduce only the source note evidence for inconsistent security controls; all request changes remain inside this Academy instance.
What I observed
Registration verifies an email address, but /my-account/change-email immediately trusts a replacement. Setting [email protected] satisfies the domain-only /admin rule.


Why it is vulnerable
Equivalent state changes must enforce identical security invariants regardless of which endpoint performs them.
Walkthrough in the authorized PortSwigger lab
- Capture the baseline request for inconsistent security controls and record the response that represents the intended lab workflow.
- Replay the recorded mutation that exposes inconsistent security controls, keeping the session and other fields unchanged.
- Confirm the inconsistent security controls signal in the response before applying the next source-documented operation.
- Complete the Academy objective using only the confirmed inconsistent security controls behavior and the supplied synthetic account or product data.



Verification
The final capture shows the Academy marking the inconsistent security controls exercise as solved after the documented request sequence. No testing was performed outside the isolated lab.

Impact and defensive lesson
The evidence demonstrates the concrete risk of inconsistent security controls: a server-side trust decision can be bypassed through the exact input or workflow shown in this lab. For inconsistent security controls, the server must enforce the exact invariant violated in the captured sequence and regression-test that mutation alongside the normal path.