SV-214290r612241_rule
V-214290
SRG-APP-000233-WSR-000146
AS24-U2-000580
CAT II
10
Move the web document (normally "htdocs") directory to a separate partition other than the operating system root partition and the web server’s system files.
Run the following command:
grep "DocumentRoot"<'INSTALL PATH'>/conf/httpd.conf
Note each location following the "DocumentRoot" string. This is the configured path to the document root directory(s).
Use the command df -k to view each document root's partition setup.
Compare that against the results for the operating system file systems and against the partition for the web server system files, which is the result of the command:
df -k <'INSTALL PATH'>/bin
If the document root path is on the same partition as the web server system files or the operating system file systems, this is a finding.
V-214290
False
AS24-U2-000580
Run the following command:
grep "DocumentRoot"<'INSTALL PATH'>/conf/httpd.conf
Note each location following the "DocumentRoot" string. This is the configured path to the document root directory(s).
Use the command df -k to view each document root's partition setup.
Compare that against the results for the operating system file systems and against the partition for the web server system files, which is the result of the command:
df -k <'INSTALL PATH'>/bin
If the document root path is on the same partition as the web server system files or the operating system file systems, this is a finding.
M
3997