Pluggable Authentication Module (PAM) must prohibit the use of cached authentications after one day.

From Canonical Ubuntu 16.04 Security Technical Implementation Guide

Part of SRG-OS-000383-GPOS-00166

Associated with: CCI-002007

SV-90233r2_rule Pluggable Authentication Module (PAM) must prohibit the use of cached authentications after one day.

Vulnerability discussion

If cached authentication information is out-of-date, the validity of the authentication information may be questionable.

Check content

Verify that Pluggable Authentication Module (PAM) prohibits the use of cached authentications after one day. Note: If smart card authentication is not being used on the system this item is Not Applicable. Check that PAM prohibits the use of cached authentications after one day with the following command: # sudo grep -i "timestamp_timeout" /etc/pam.d/* timestamp_timeout=86400 If "timestamp_timeout" is not set to a value of "86400" or less, or is commented out, this is a finding.

Fix text

Configure Pluggable Authentication Module (PAM) to prohibit the use of cached authentications after one day. Add or change the following line in "/etc/pam.d/common-auth" or "/etc/pam.d/common-session" just below the line "[pam]". timestamp_timeout = 86400

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