CVE-2011-3364: Medium severity red hat networkmanager-libreswan-gnome vulnerability
Description of problem: Between F14 and F15, NetworkManager was changed so that unprivileged console users can store both personal and system connections via the ifcfg-rh plugin. As a result, bug 682290 now constitutes a vulnerability allowing such users to escalate to root. To avoid calling attention to this, I am filing a separate bug rather than updating bug 682290.
Version-Release number of selected component (if applicable): NetworkManager-0.9.0-1.fc15
How reproducible: Always
Steps to Reproduce (as an unprivileged console user): 1. Create a wired connection named test'. 2. Change the name to test\nUSERCTL=true\n/bin/bash', where \n' stands for a newline entered via Ctrl-Shift-U, A. 3. usernetctl test up
Actual results: Root shell.
Expected results: Format integrity of /etc/sysconfig/network-scripts/ifcfg-test is maintained.
Other sources
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.
— MITRE
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2011-3364?
CVE-2011-3364 has a moderate severity rating due to the potential for local privilege escalation by unprivileged console users.
How do I fix CVE-2011-3364?
To fix CVE-2011-3364, update the NetworkManager and ifcfg-rh plugin to the latest versions that address this vulnerability.
Which versions are affected by CVE-2011-3364?
CVE-2011-3364 affects GNOME's NetworkManager versions prior to 0.9.1 and the ifcfg-rh plugin in the specified configurations.
What type of vulnerability is CVE-2011-3364?
CVE-2011-3364 is classified as a local privilege escalation vulnerability in NetworkManager.
Who is impacted by CVE-2011-3364?
Any user with unprivileged access on systems running susceptible versions of NetworkManager and the ifcfg-rh plugin may be impacted by CVE-2011-3364.