Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 23197 - Incorrect permissions for group on some nodes
Incorrect permissions for group on some nodes
Product: Red Hat Linux
Classification: Retired
Component: dev (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Florence Beta-3
: Security
Depends On:
  Show dependency treegraph
Reported: 2001-01-02 18:46 EST by Chris Evans
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-01-11 16:14:27 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Chris Evans 2001-01-02 18:46:14 EST
These commands list /dev entries which are writable by
group root:

find /dev -gid 0 -perm -20 -type c
find /dev -gid 0 -perm -20 -type b

I suspect they are errors. They are a security concern because they
could well make leaks of group root equivalent to full root access; e.g.
/dev/agpgart would be the first candidate alphabetically :)

In general, I would expect the following rules to apply:
- A /dev entry should only be writable by the group if it has a special
group (e.g. disk), or it is publicly writable.

The same argument applies to group root having read permissions as well
as write permissions.

Generalising further, these rules do not just apply to /dev, but also
much all other files or directories. I suggest a quick audit; it is just a
"find" command.
Comment 1 Nalin Dahyabhai 2001-01-03 00:49:35 EST
A number of these are set this way by convention (carried over when the dev
package was overhauled).  Some of these are redundant because of pam_console,
others we'll have to look at more closely.
Comment 2 Glen Foster 2001-01-11 16:14:22 EST
This defect is considered MUST-FIX for Florence Gold release
Comment 3 Nalin Dahyabhai 2001-01-17 23:05:20 EST
This should all be cleaned up as of dev-3.1.0-1, which is quite a bit more
careful about group ownerships and group read/write permissions.  If this breaks
anything, I trust we'll find out in time to relax some of the restrictions or
fix some broken programs.

Note You need to log in before you can comment on or make changes to this bug.