Library files must have mode 0755 or less permissive.

From MAC OSX 10.6 Workstation Security Technical Implementation Guide

Part of GEN001300

Associated with IA controls: DCSL-1

Associated with: CCI-001499

SV-37911r1_rule Library files must have mode 0755 or less permissive.

Vulnerability discussion

Unauthorized access could destroy the integrity of the library files.

Check content

Open a terminal session and enter the following command to verify the permissions on library and framework files, all on one line. find /System/Library/Frameworks /Library/Frameworks /usr/lib /usr/local/lib -type f -perm +022 -exec stat -f %Lp:%N {} \; If any of the library files have a mode more permissive than 0755, this is a finding.

Fix text

Open a terminal session and enter the following command to change the mode of library files to 0755 or less permissive. chmod 0755 NOTE: Library files should have an extension of ".a" or ".so", possibly followed by a version number. Frameworks are directories that may already contain files with more restrictive permissions than 755 and thus should not have their modes changed to 755 recursively.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer