Skip to main content
Menu
Advisories

SSO Token implicit flow

GHSA-QQ7F-7G5G-MM5GPublished Updated GitHub

Description

Impact

A logged-in user who opens a crafted webpage can have their OpenList Token silently stolen, leading to full account takeover. The only visible sign to the victim is a child window briefly opening and closing.

Proof of Concept

Create a webpage that opens a child window to /api/auth/sso?method=sso_get_token, then listen for the window.opener.postMessage response and read the returned Token. The code in server/handles/ssologin.go passes "*" as the postMessage target origin, so the Token is sent back to any window that opened it, rather than only to the trusted application origin.

PoC HTML: exploit.html

Affected versions

References

GitHub · OpenListTeam/OpenList