Description
Incomplete blacklist vulnerability in the svEscape function in settings/plugins/ifcfg-rh/shvar.c in the ifcfg-rh plug-in for GNOME NetworkManager 0.9.1, 0.9.0, 0.8.1, and possibly other versions, when PolicyKit is configured to allow users to create new connections, allows local users to execute arbitrary commands via a newline character in the name for a new network connection, which is not properly handled when writing to the ifcfg file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | NetworkManager +4 | 1:0.8.1-9.el6_1.3 | RHSA-2011:1338 |
Advisories 1
- RHSA-2011:1338 Red Hat Security Advisory: NetworkManager security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- http://xorl.wordpress.com/2011/10/09/cve-2011-3364-gnome-networkmanager-local-privilege-escalation/
- FEDORA-2011-13425 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=737338
- MDVSA-2011:171 vendor-advisory
- RHSA-2011:1338 vendor-advisory