| tiêu đề | Gitlawb openclaude 0.27.0 Denial of Service |
|---|
| Mô tả | 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. |
|---|
| Nguồn | ⚠️ https://github.com/Gitlawb/openclaude/issues/2101 |
|---|
| Người dùng | nedlir (UID 95981) |
|---|
| Đệ trình | 07/08/2026 16:17 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 13/09/2026 11:37 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 403266 [Gitlawb openclaude đến 0.30.0 xAI OAuth Callback xaiOAuthCallback.ts waitForCallback Lỗi Từ chối dịch vụ] |
|---|
| điểm | 20 |
|---|