Cyber Risks · PortSwigger Research

Client-side desync

Summary: Client-side desync vulnerabilities occur when a web server fails to correctly process the Content-Length of POST requests, letting an attacker force a victim's browser to desynchronize its connection with the website, typically leading to XSS. PortSwigger lists three fixes: patch the server to process POST requests correctly or close the connection after handling them, disable connection reuse entirely at a possible performance cost, or enable HTTP/2.

What you should know: The attack runs through the victim's own browser rather than the attacker's infrastructure, so a server that mishandles Content-Length on POST requests turns every visiting user into the delivery mechanism for XSS.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related