| عنوان | NocoBase 2.2.33 Denial of Service |
|---|
| الوصف | Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process Termination in NocoBase 2.2.33
NocoBase 2.2.33 WebSocket message handler in @nocobase/server (ws-server.js) parses inbound text frames with JSON.parse inside an async message listener without try/catch. An unauthenticated client can connect to ws://<host>/ws and send a non-JSON text frame. When SES unhandled-rejection trapping does not absorb the exception, the resulting uncaught SyntaxError terminates the Node.js process and takes down the application container (denial of service).
Component: @nocobase/server WebSocket gateway (ws-server.js)
Vendor site: https://www.nocobase.com/
Attack prerequisites: network access to /ws; no authentication required in the tested build; no user interaction.
Impact: anonymous remote attacker crashes the application process with a single malformed WebSocket text frame, denying service until restart. Privilege delta: anonymous network client → host process termination (availability impact on the whole app).
Recommended fix: wrap JSON.parse of WebSocket text frames in try/catch; on parse failure ignore/close the frame and never let the exception escape the listener.
Suggested CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (7.5 High)
Full write-up with Burp screenshots, crash logs, and source excerpt:
https://gist.github.com/DReazer/d3e3e5d8624de9cf49ec2db3d2390c10 |
|---|
| المصدر | ⚠️ https://gist.github.com/DReazer/d3e3e5d8624de9cf49ec2db3d2390c10 |
|---|
| المستخدم | Snkn0w (UID 90071) |
|---|
| ارسال | 09/11/2026 04:16 AM (24 أيام منذ) |
|---|
| الاعتدال | 03/12/2026 09:19 AM (24 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 448600 [NocoBase حتى 2.3.0-beta.29 WebSocket Gateway ws-server.ts الحرمان من الخدمة] |
|---|
| النقاط | 20 |
|---|