dhcp3-server fails to drop privileges properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Hardy |
Won't Fix
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
isc-dhcp (Ubuntu) |
Fix Released
|
Undecided
|
Stéphane Graber | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Stéphane Graber | ||
Quantal |
Fix Released
|
Undecided
|
Stéphane Graber |
Bug Description
Binary package hint: dhcp3-server
In debian/
One can test this by adding:
on commit {
execute(
}
to /etc/dhcp3/
uid=112(dhcpd) gid=120(dhcpd) groups=0(root)
This means that dhcp will retain the root-group privileges and is missing other groups that a user may have possibly defined for it.
The fix would be to use either initgroups() or setgroups() function properly in drop_privileges(). Doing this should also fix this bug: https:/
This is:
Description: Ubuntu 10.04.1 LTS
Release: 10.04
dhcp3-server:
Installed: 3.1.3-2ubuntu3
Candidate: 3.1.3-2ubuntu3
Version table:
*** 3.1.3-2ubuntu3 0
500 http://
100 /var/lib/
Changed in isc-dhcp (Ubuntu): | |
status: | New → Confirmed |
Changed in isc-dhcp (Ubuntu Lucid): | |
status: | New → Invalid |
Changed in isc-dhcp (Ubuntu Maverick): | |
status: | New → Invalid |
Changed in isc-dhcp (Ubuntu Dapper): | |
status: | New → Invalid |
Changed in isc-dhcp (Ubuntu Hardy): | |
status: | New → Invalid |
Changed in isc-dhcp (Ubuntu Karmic): | |
status: | New → Invalid |
Changed in dhcp3 (Ubuntu Lucid): | |
status: | New → Confirmed |
Changed in dhcp3 (Ubuntu Maverick): | |
status: | New → Confirmed |
Changed in dhcp3 (Ubuntu Natty): | |
status: | New → Confirmed |
Changed in dhcp3 (Ubuntu Dapper): | |
status: | New → Confirmed |
Changed in dhcp3 (Ubuntu Hardy): | |
status: | New → Confirmed |
Changed in dhcp3 (Ubuntu Karmic): | |
status: | New → Confirmed |
visibility: | private → public |
no longer affects: | dhcp3 (Ubuntu Dapper) |
no longer affects: | dhcp3 (Ubuntu Natty) |
no longer affects: | dhcp3 (Ubuntu Karmic) |
no longer affects: | isc-dhcp (Ubuntu Maverick) |
no longer affects: | isc-dhcp (Ubuntu Lucid) |
no longer affects: | isc-dhcp (Ubuntu Karmic) |
no longer affects: | dhcp3 (Ubuntu Maverick) |
no longer affects: | isc-dhcp (Ubuntu Dapper) |
no longer affects: | isc-dhcp (Ubuntu Hardy) |
no longer affects: | dhcp3 (Ubuntu Quantal) |
no longer affects: | dhcp3 (Ubuntu Precise) |
no longer affects: | dhcp3 (Ubuntu Oneiric) |
Changed in isc-dhcp (Ubuntu Quantal): | |
status: | Confirmed → In Progress |
assignee: | nobody → Stéphane Graber (stgraber) |
tags: | added: patch |
Changed in isc-dhcp (Ubuntu Precise): | |
importance: | Undecided → Medium |
Thank you for reporting this bug to Ubuntu. dapper has reached EOL /wiki.ubuntu. com/Releases for currently supported Ubuntu
(End of Life) and is no longer supported. As a result, this bug
against dapper is being marked "Won't Fix". Please see
https:/
releases.
Please feel free to report any other bugs you may find.