Impact
Vulnerability Type: Insecure Default Configuration / Exposure of Resource to Wrong Sphere (CWE-668)
Description:
On a NethServer 8 (NS8) node hosting the NethSecurity Controller module, several core platform services—specifically Grafana and Redis—are configured to bind to all available network interfaces (0.0.0.0).
When a remote firewall connects to the NethSecurity Controller, it joins a VPN network managed by the NS8 node. Because these services are listening on all interfaces, they become directly reachable by any managed firewall via the VPN tunnel.
Specific Impact:
Managed firewalls should be treated as untrusted edge devices. If a firewall is compromised, an attacker can move laterally to the NS8 host's internal services:
- Redis (NS8 Service): An attacker can query Redis to extract sensitive plain-text data used by the platform, including:
system_key and secret (NethServer subscription credentials).
- Credentials and tokens used to access Loki logs.
- Grafana (NS8 Service): Access to the monitoring dashboard on port 3000. As detailed in related bulletins, this often uses default credentials, allowing an attacker to view logs and metrics for the entire cluster and all connected units.
Workarounds
- Manual Binding: Configure Redis (
redis.conf) and Grafana (grafana.ini) on the NS8 node to bind specifically to 127.0.0.1.
- Infrastructure Firewall: Use
nftables on the NS8 host to explicitly drop traffic coming from the NethSecurity VPN interface (e.g., wg0 or similar) destined for ports 3000 (Grafana) and 6379 (Redis).
- Service Hardening: Ensure Redis requires a strong password and that Grafana's default
admin credentials have been changed.
References
Impact
Vulnerability Type: Insecure Default Configuration / Exposure of Resource to Wrong Sphere (CWE-668)
Description:
On a NethServer 8 (NS8) node hosting the NethSecurity Controller module, several core platform services—specifically Grafana and Redis—are configured to bind to all available network interfaces (
0.0.0.0).When a remote firewall connects to the NethSecurity Controller, it joins a VPN network managed by the NS8 node. Because these services are listening on all interfaces, they become directly reachable by any managed firewall via the VPN tunnel.
Specific Impact:
Managed firewalls should be treated as untrusted edge devices. If a firewall is compromised, an attacker can move laterally to the NS8 host's internal services:
system_keyandsecret(NethServer subscription credentials).Workarounds
redis.conf) and Grafana (grafana.ini) on the NS8 node to bind specifically to127.0.0.1.nftableson the NS8 host to explicitly drop traffic coming from the NethSecurity VPN interface (e.g.,wg0or similar) destined for ports 3000 (Grafana) and 6379 (Redis).admincredentials have been changed.References