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
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026