All shell files must not have extended ACLs.

From AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE

Part of GEN002230

Associated with IA controls: ECLP-1

Associated with: CCI-000225

SV-38744r1_rule All shell files must not have extended ACLs.

Vulnerability discussion

Shells with world/group write permissions give the ability to maliciously modify the shell to obtain unauthorized access.

Check content

Check the permissions of each shell referenced in /etc/shells. Procedure: # cat /etc/shells For each shell listed, run aclget #aclget Check the permissions of each shell referenced in /etc/security/login.cfg. Procedure: #grep shells /etc/security/login.cfg For each shell listed, run aclget # aclget Otherwise, check any shells found on the system. # find / -name "*sh #aclget / If extended permissions are enabled on any shell, this is a finding.

Fix text

Remove the extended ACL from the shell file(s) and disable extended permissions. #acledit /

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