| शीर्षक | 拉瓦赫 Python的WebSocket(ws4py) 0.6.0 数据真实性验证不足 |
|---|
| विवरण | ws4py's wss client disables TLS certificate and hostname verification by default (cert_reqs = ssl.CERT_NONE, sslopt not enforced in WebSocket.__init__ and run_forever paths), so wss traffic can be intercepted and tampered with by an attacker performing MITM with any self-signed certificate. Verified in a real environment: a real ws4py client completed a wss handshake against an impostor certificate (CN=evil-mitm.example.com) with bidirectional message flow, while a default-ssl control client rejected the same endpoint. Affects 0.5.1, 0.6.0 and master.
As requested by moderation, a public issue has been created in the project repository: https://github.com/Lawouach/WebSocket-for-Python/issues/308 (full technical analysis and MITM reproduction). |
|---|
| स्रोत | ⚠️ https://github.com/Lawouach/WebSocket-for-Python/issues/308 |
|---|
| उपयोगकर्ता | chenhuanlin (UID 100424) |
|---|
| सबमिशन | 27/10/2026 03:18 AM (29 दिन पहले) |
|---|
| संयम | 25/11/2026 07:58 AM (29 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 443652 [Lawouach ws4py तक 0.6.0 Wss Client ws4py/client/__init__.py WebSocketBaseClient.connect कमजोर प्रमाणीकरण] |
|---|
| अंक | 20 |
|---|