Nm-l2tp NetworkManager-l2tp
NetworkManager-l2tp Privilege Escalation via pppd Plugin Injection
NetworkManager-l2tp through 1.52.4, fixed in 1.52.6, contains an improper input validation vulnerability that allows local users with VPN connection creation permissions to inject arbitrary pppd directives by supplying mru or mtu property values containing trailing non-numeric content after a valid integer. Attackers can exploit the verbatim write of unvalidated strings into the pppd options file via write_config_option() to inject the plugin directive, causing the privileged pppd process to load an attacker-controlled shared object and achieve arbitrary code execution as root.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 1.52.4
Fixed in 1.52.6
Mitigation
Upgrade NetworkManager-l2tp to 1.52.6 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.