| Titre | Gitlawb openclaude 0.27.0 Denial of Service |
|---|
| Description | The xAI OAuth loopback callback server (src/services/api/xaiOAuthCallback.ts) evaluates the error query parameter before performing CSRF state parameter validation.
This vulnerability is an unpatched sibling variant of disclosed advisory GHSA-c73c-x77g-854r ("MCP OAuth Callback: State Check Bypass via error Param Leads to DoS"). While the fix for GHSA-c73c-x77g-854r reordered checks in src/services/mcp/auth.ts and src/services/mcp/xaaIdpCallback.ts to validate state before processing errors, the xAI OAuth loopback callback handler was omitted during remediation.
When an unauthenticated request containing ?error=... is received on http://127.0.0.1:56121/callback, xaiOAuthCallback.ts marks the flow as settled and rejects waitForCallback() without verifying whether a valid state parameter was supplied.
Because the callback server runs on a fixed port (56121), any malicious website visited by the user while an xAI OAuth login is in progress can issue a cross-origin GET request (e.g., via <img src="..."> or fetch(..., {mode: 'no-cors'})) to immediately abort the victim's authentication attempt. |
|---|
| La source | ⚠️ https://github.com/Gitlawb/openclaude/issues/2101 |
|---|
| Utilisateur | nedlir (UID 95981) |
|---|
| Soumission | 07/08/2026 16:17 (il y a 1 mois) |
|---|
| Modérer | 13/09/2026 11:37 (1 month later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 403266 [Gitlawb openclaude jusqu’à 0.30.0 xAI OAuth Callback xaiOAuthCallback.ts waitForCallback Erreur déni de service] |
|---|
| Points | 20 |
|---|