SV-6880r1_rule
V-2256
WG280
WG280
CAT II
10
The site needs to ensure that the owner should be the non-privileged web server account or equivalent which runs the web service; however, the group permissions represent those of the user accessing the web site that must execute the directives in .htacces.
This check verifies that the SA or Web Manager controlled account owns the key web server files. These same files, which control the configuration of the web server, and thus its behavior, must also be accessible by the account that runs the web service process.
If it exists, the following file need to be owned by a privileged account.
.htaccess
httpd.conf
Use the command find / -name httpd.conf to find the file
Change to the Directory that contains the httpd.conf file
Use the command ls -l httpd.conf to determine ownership of the file
-The Web Manager or the SA should own all the system files and directories.
-The configurable directories can be owned by the WebManager or equivalent user.
Permissions on these files should be 660 or more restrictive.
If root or an authorized user does not own the web system files and the permission are not correct, this is a finding.
V-2256
False
WG280
This check verifies that the SA or Web Manager controlled account owns the key web server files. These same files, which control the configuration of the web server, and thus its behavior, must also be accessible by the account that runs the web service process.
If it exists, the following file need to be owned by a privileged account.
.htaccess
httpd.conf
Use the command find / -name httpd.conf to find the file
Change to the Directory that contains the httpd.conf file
Use the command ls -l httpd.conf to determine ownership of the file
-The Web Manager or the SA should own all the system files and directories.
-The configurable directories can be owned by the WebManager or equivalent user.
Permissions on these files should be 660 or more restrictive.
If root or an authorized user does not own the web system files and the permission are not correct, this is a finding.
M
Web Administrator
158