Fastapi Users
Monthly
OAuth login CSRF in the FastAPI Users Python library before 15.0.2 allows an unauthenticated attacker to have a victim's browser silently complete an OAuth callback using an attacker-controlled authorization code and a state token the attacker obtained from the same server. Because the state JWT carries no per-request entropy and is never correlated to the browser that started the flow, it is valid for any client for roughly one hour; the attacker needs only to lure the victim into loading a crafted /callback URL (user interaction required). Successful abuse logs the victim into the attacker's account, and depending on the host application's OAuth account-association logic it can escalate to a one-click takeover of the victim's account. Publicly available exploit code and a detailed GitHub security advisory (GHSA-5j53-63w8-8625) exist, and version 15.0.2 contains the vendor patch.
OAuth login CSRF in the FastAPI Users Python library before 15.0.2 allows an unauthenticated attacker to have a victim's browser silently complete an OAuth callback using an attacker-controlled authorization code and a state token the attacker obtained from the same server. Because the state JWT carries no per-request entropy and is never correlated to the browser that started the flow, it is valid for any client for roughly one hour; the attacker needs only to lure the victim into loading a crafted /callback URL (user interaction required). Successful abuse logs the victim into the attacker's account, and depending on the host application's OAuth account-association logic it can escalate to a one-click takeover of the victim's account. Publicly available exploit code and a detailed GitHub security advisory (GHSA-5j53-63w8-8625) exist, and version 15.0.2 contains the vendor patch.