| Título | youzan ZanProxy 5.1.0 Exposure of Sensitive Information (CWE-200) |
|---|
| Descrição | ZanProxy 5.1.0 starts a Manager service on x.x.x.x:40001 by default. Its Socket.IO server, created in src/core/manager/controller/socket.ts, does not authenticate clients or validate the Origin of WebSocket connections. A client that can reach the service can join the /manager namespace and immediately receive the profile, hostFileList, ruleFileList and mockDataList events, which contain application settings, host mappings, forwarding rules and mock-data information.
Connecting to the /http-trafic namespace increments the traffic-monitor counter and enables recording. The monitor middleware collects proxied request and response headers, including Cookie and Authorization values when present, and the service broadcasts records approximately every two seconds. Consequently, a connected client can observe traffic that the user sends through ZanProxy while monitoring is active.
The public report provides an HTML proof of concept: start ZanProxy, connect both namespaces, then send a test request through the proxy. It describes receiving the four configuration events and a traffic record containing test request headers. A malicious webpage or a reachable network client can obtain information available through these events; network access depends on the host firewall and configuration. |
|---|
| Fonte | ⚠️ https://github.com/youzan/zan-proxy/issues/154 |
|---|
| Utilizador | fifker (UID 101353) |
|---|
| Submissão | 12/11/2026 14h22 (há 22 dias) |
|---|
| Moderação | 04/12/2026 13h26 (22 days later) |
|---|
| Estado | Aceite |
|---|
| Entrada VulDB | 449729 [Youzan ZanProxy 5.0/5.1.0 Manager Service socket.ts init Divulgação de Informação] |
|---|
| Pontos | 20 |
|---|