Summary: | net-misc/netifrc runs udhcpc as root from a statically linked busybox even on hardened systems | ||
---|---|---|---|
Product: | Gentoo Security | Reporter: | Hugo Mildenberger <Hugo.Mildenberger> |
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | blueness, chainsaw, netifrc, williamh, zorry |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hugo Mildenberger
2015-01-31 23:27:00 UTC
CCing blueness, maybe hardened has some comment on this report? I am adding netifrc; this is actually an issue with the netifrc scripts since OpenRC itself doesn't run any dhcp clients. <hat type="netifrc"> netifrc uses whatever DHCP client you have specified. It has to run them as root (or at least CAP_NET_ADMIN) so they have suitable socket access for sending DHCP requests. I see two options for you: - run a non-static busybox - use a different DHCP client (not from busybox): net-misc/pump, net-misc/dhcpcd, net-misc/dhcp </hat> security: is there a need to keep this bug locked? I don't see it as a legitimate security bug, but rather a product of the user's choices. Using whiteboard for netifrc bug tracking. Unrestricting. Hardened kernels are no longer supported (dependent on which features one considers). Bug can also be mitigated dependent on users choice of dhcp daemon. Concur with Robins comments above. |