Opis (engleski)
Binding to an unrestricted IP address in the netstack SOCKS5 proxy of the NetBird client (client/iface/netstack) in NetBird versions before 0.74.7 allows an unauthenticated attacker on the same network as the client to relay traffic through the client into its NetBird overlay network. When the client runs in netstack mode (NB_USE_NETSTACK_MODE=true), it starts a SOCKS5 proxy, without authentication, that is meant to bridge applications on the local host into the userspace WireGuard stack. The listener was bound to 0.0.0.0 instead of the loopback address, so any host that can reach the proxy port (1080 by default) can connect and reach peers and internal resources with the network position of the affected client. Netstack mode is not enabled by default. The issue is fixed in version 0.74.7, which binds the proxy to 127.0.0.1 by default.
Rješenje proizvođača
Upgrade the NetBird client to version 0.74.7 or later. In this version the netstack SOCKS5 proxy listens on 127.0.0.1 by default. The NB_SOCKS5_LISTENER_ADDRESS environment variable can set a different bind address when the proxy must be reachable from other hosts; doing so exposes the unauthenticated proxy on that address (pull request #6812).
Privremena mjera proizvođača
If an upgrade is not possible, do not run the client in netstack mode on untrusted networks, or block inbound access to the SOCKS5 proxy port with a host firewall.
Izvorni tekst iz CVE zapisa proizvođača.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:L
- Put napada
- Iz susjedne mreže
- Složenost napada
- Niska
- Preduvjeti napada
- Nema posebnih
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Nije potrebna
- Povjerljivost
- Nizak utjecaj
- Integritet
- Nizak utjecaj
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-1327 Binding to an Unrestricted IP Address
Reference
- github.com/netbirdio/netbird/security/advisories/GHSA-7wwh-vfq4-v488 objava proizvođača
- github.com/netbirdio/netbird/pull/6812 patch
- github.com/netbirdio/netbird/releases/tag/v0.74.7
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.