Check: GEN001300
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: # find /usr/lib /lib /usr/sfw/lib -perm -0722 -type f -o -perm -0720 -type f -o -perm -0702 -type f -exec ls -ld {} \; If any of the library files have a mode more permissive than 0755, this is a finding.
Fix Text
Change the mode of library files to 0755 or less permissive. Procedure (example): # chmod 0755 /path/to/library-file NOTE: Library files should have an extension of .a or .so, possibly followed by a version number.
Additional Identifiers
Rule ID:
Vulnerability ID: V-793
Group Title:
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 |