Check: WG280 A24
Apache Server 2.4 Unix:
WG280 A24
(in version v1 r1)
Title
The access control files are owned by a privileged web server account. (Cat II impact)
Discussion
This check verifies that the key web server system configuration files are owned by the SA or Web Manager controlled account. These same files which control the configuration of the web server, and thus its behavior, must also be accessible by the account which runs the web service. If these files are altered by a malicious user, the web server would no longer be under the control of its managers and owners; properties in the web server configuration could be altered to compromise the entire server platform.
Check Content
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 following commands to determine permissions and ownership of these files: find / -name .htaccess -print -exec ls -l {} \; find / -name httpd.conf -print -exec ls -l {} \; 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 permissions are not correct, this is a finding.
Fix Text
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 .htaccess.
Additional Identifiers
Rule ID:
Vulnerability ID: V-2256
Group Title:
Expert Comments
CCIs
Number | Definition |
---|---|
No CCIs are assigned to this check |
Controls
Number | Title |
---|---|
No controls are assigned to this check |