GNOME NetworkManager-vpnc
Networkmanager-vpnc: networkmanager-vpnc: local privilege escalation to root via newline injection in vpn username
Edge device · Firewall / VPNproduct or title mentions "vpn" (medium confidence)
A flaw was found in NetworkManager-vpnc. This vulnerability allows a local unprivileged user to escalate privileges to root. By injecting a newline character into the VPN username field, an attacker can manipulate the vpnc configuration to execute an arbitrary program with root privileges when the malicious VPN connection is activated.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < *
Fixed in *
Mitigation
Upgrade NetworkManager-vpnc to * or later.
Workaround
If vpnc VPN connections are not required, the NetworkManager-vpnc package can be removed to eliminate the vulnerability. This action will prevent the system from establishing vpnc-based VPN connections. To remove the package, execute the following command as root: `# dnf remove NetworkManager-vpnc` Note that removing this package may impact functionality if vpnc VPNs are actively used.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.