| 标题 | Gitlawb openclaude 0.27.0 Denial of Service |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/Gitlawb/openclaude/issues/2101 |
|---|
| 用户 | nedlir (UID 95981) |
|---|
| 提交 | 2026-08-07 16時17分 (1 月前) |
|---|
| 管理 | 2026-09-13 11時37分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403266 [Gitlawb openclaude 直到 0.30.0 xAI OAuth Callback xaiOAuthCallback.ts waitForCallback 错误 拒绝服务] |
|---|
| 积分 | 20 |
|---|