Cyber Risks · PortSwigger Research

Lab: CSRF vulnerability with no defenses

Summary: PortSwigger's lab presents an email change function that is vulnerable to CSRF with no defenses in place. The task is to craft HTML that uses a CSRF attack to change the viewer's email address and upload it to the exploit server, with login credentials wiener:peter provided.

What you should know: An email change form with no CSRF protection lets an attacker's page silently submit the request on a logged-in user's behalf, and the lab's own constraint - that an address already taken by another user cannot be registered - shows how a single forged request can lock a victim out of their account.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related