AS24-U1-000970 - The Apache web server htpasswd files (if present) must reflect proper ownership and permissions.

Information

In addition to OS restrictions, access rights to files and directories can be set on a website using the web server software. That is, in addition to allowing or denying all access rights, a rule can be specified that allows or denies partial access rights. For example, users can be given read-only access rights to files to view the information but not change the files.

This check verifies that the htpasswd file is only accessible by System Administrators (SAs) or Web Managers, with the account running the web service having group permissions of read and execute. 'htpasswd' is a utility used by Netscape and Apache to provide for password access to designated websites.

Solution

Ensure the SA or Web Manager account owns the 'htpasswd' file.

Ensure permissions are set to '550'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apache_Server_2-4_Unix_Y24M07_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-214274r961863_rule, STIG-ID|AS24-U1-000970, STIG-Legacy|SV-102845, STIG-Legacy|V-92757, Vuln-ID|V-214274

Plugin: Unix

Control ID: 505c34c55b24b07531137458d47de541758d805e976bf98466cbf8b07d717fa4