Skip to content

API security

Account email change: verify ownership and notifications

Test an account email change with controlled inboxes, reauthentication and verification of the intended destination.

By BugSnaps · Updated

Add BugSnaps as a preferred source on Google(opens in a new tab)

Want more of our security guides? Select BugSnaps and confirm your choice on Google.

Direct answer

Changing an account email can affect login and recovery. Verify that the change is authorized, the new address is controlled by the user and appropriate notifications reach the right accounts.

Define the policy

Use a dedicated test account with two controlled inboxes. Record whether current-password or recent authentication is required, when the new address becomes active, and which addresses receive alerts. Do not test on an employee's real account.

Reference: OWASP Authentication Cheat Sheet.

Exercise the intended change

Initiate the change and inspect the account before verification. Complete the expected confirmation using the new test inbox and confirm login and recovery behavior. Record notification timing without exposing the verification link.

  • Treat verification tokens as secrets.
  • Check both old and new inboxes as policy requires.
  • Restore or remove the test account after the exercise.

Check invalid and stale requests

Attempt an expired or already-used test verification link and a change without required reauthentication. Confirm the old or unverified address is not silently replaced contrary to policy. Check whether a second request invalidates the earlier pending link.

Retest recovery implications

After changes, verify legitimate email updates still work and that password recovery uses the intended verified address. Document session behavior and any provider delays rather than assuming all devices or federated identities changed immediately.

Assessment limits

Identity providers and federated accounts may manage email separately. A test of one flow does not establish protection for administrative changes or every recovery channel.

Frequently asked questions

Why verify the new email address?

It helps establish control of the destination before using it for sensitive notifications or account recovery.

Does changing email automatically terminate sessions?

That depends on the documented security policy and identity architecture; test it explicitly.

Primary sources and further reading

These guides combine published security guidance with practical assessment planning. Adapt checks to the owner's policy, environment, and authorized scope.

This guide was prepared with AI assistance using the linked sources and illustrative examples. Check current vendor guidance and your environment before making changes.

Apply the guide to your own assessment.

Start with an authorized target, known test data, and a clear scope. Use the report's evidence and coverage limits to decide which checks need further review.

Open MyPentest