WG270 W22 - The web server's 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 web site 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 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 web sites. I

Solution

The SA or Web Manager account should have Full Control, the account running the web service should have read and execute permissions to the htpasswd file.

See Also

https://iasecontent.disa.mil/stigs/zip/U_Apache_2-2_WIN_V1R13_STIG.zip

Item Details

References: CAT|II, Rule-ID|SV-36561r2_rule, STIG-ID|WG270_W22, Vuln-ID|V-2255

Plugin: Windows

Control ID: f1800547f96accc9f85d4596c55bc05e5c1dfb2411645a6fbb4a4e1970206bcd