Open Redirect in Rocket.Chat
The SAML single-logout redirect endpoint placed the user-supplied redirect value straight into a 302 Location header without validation. Because the route needed no login, an attacker could use a genuine Rocket.Chat domain to send victims to any external site.
- Triaged in 16 days
- Fixed in 5 months
- Disclosed after 5 months
Summary by the program
An open redirect vulnerability was identified in Rocket.Chat. The /_saml/sloRedirect/:provider endpoint includes the redirect query string value directly in the Location header for a 302 redirect without any server-side validation. Since this route is accessible without authentication, an attacker can leverage a legitimate Rocket.Chat domain to redirect users to an arbitrary external site. This issue is fixed in v8.4.0.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The endpoint copied the redirect parameter into the Location header of a 302 response without validating that the destination was allowed.
Impact
An attacker could use a legitimate Rocket.Chat domain to redirect users to an arbitrary external site, which may aid phishing; the text does not claim any further impact.
What the attacker needed
No authentication needed; victim clicks a crafted link
The fix
The issue was fixed in v8.4.0.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
An open redirect is when a trusted website's link sends you somewhere else entirely. Here the site took a destination from the address bar and used it in its redirect response without checking it. Anyone could craft such a link, and because it starts on the real site it looks trustworthy.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.