Cyber Risks · PortSwigger Research

Long redirection response

Summary: PortSwigger Research describes a scanner finding where an application returned a redirection response containing a long message body that browsers normally hide because they follow the redirect automatically. The concern is that such redirection responses can carry sensitive data, for example including the contents of a prohibited page when a user requests a page they are not authorized to view.

Why it matters: A redirect that quietly carries the contents of a page the user was denied still delivers that data to the client, even though the browser never displays it. The fix is to check authorization earlier in request handling or use a different API to perform the redirection.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related