Check: GEN001300
SUSE Linux Enterprise Server v11 for System z STIG:
GEN001300
(in versions v1 r12 through v1 r9)
Title
Library files must have mode 0755 or less permissive. (Cat II impact)
Discussion
Unauthorized access could destroy the integrity of the library files.
Check Content
Check the mode of library files. Procedure: # DIRS="/usr/lib /usr/lib64 /lib /lib64";for DIR in $DIRS;do find $DIR -type f -perm +022 -exec stat -c %a:%n {} \;;done This will return the octal permissions and name of all group or world writable files. If any file listed is world or group writable (either or both of the 2 lowest order digits contain a 2, 3 or 6), this is a finding.
Fix Text
Change the mode of library files to 0755 or less permissive. Procedure (example): # chmod go-w </path/to/library-file> Note: Library files should have an extension of ".a" or a ".so" extension, possibly followed by a version number.
Additional Identifiers
Rule ID: SV-44951r1_rule
Vulnerability ID: V-793
Group Title: GEN001300
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001499 |
The organization limits privileges to change software resident within software libraries. |
Controls
Number | Title |
---|---|
CM-5 (6) |
Limit Library Privileges |