nova_sudoers is brittle, often out of date, and too permissive
Bug #681774 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Fix Released
|
Wishlist
|
Thierry Carrez |
Bug Description
1/ The current sudoers file is way too permissive. It gives access to so many unrestricted commands that the nova user is as powerful as the root user.
2/ The sudoers setup is a bit brittle because it assumes things about your /etc/sudoers ("must include /etc/sudoers.d").
3/ Whenever a code change in nova introduces the need for a new "sudo" command, the packages fail to introduce in parallel the needed change in the sudoers file, mainly because those are two separate code bases with two separate sets of developers working on it.
Changed in nova (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in nova (Ubuntu): | |
status: | New → Confirmed |
Changed in nova (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: server-o-rs |
tags: | removed: server-o-rs |
To post a comment you must log in.
Do you mean euca_rootwrap as implemented like this: http:// www.sfr- fresh.com/ linux/misc/ eucalyptus- 2.0.2-src- online. tar.gz: a/eucalyptus- 2.0.2/util/ euca_rootwrap. c?
Unless I'm missing something, this will execute any command with full root privileges, which completely defeats the point of privilege separation. Using sudo is pretty horrible, but at least it can enforce that only a few named commands may be run. Using euca_rootwrap would be hardly any more secure than just running the nova daemons as root.