GEN003940 - The hosts.lpd (or equivalent) must have mode 0644 or less permissive - httpd-standalone-ipp.conf

Information

Excessive permissions on the hosts.lpd (or equivalent) file may permit unauthorized modification. Unauthorized modifications could disrupt access to local printers from authorized remote hosts or permit unauthorized remote access to local printers.

Solution

Change the mode of the print service configuration files to 0644 or less permissive.

Procedure:

# chmod 0644 /etc/apache/httpd-standalone-ipp.conf /etc/printers.conf /etc/smb.conf /etc/sfw/smb.conf /etc/samba/smb.conf /etc/sfw/samba/smb.conf

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_x86_V2R4_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(4), CAT|II, CCI|CCI-002165, Rule-ID|SV-227830r854499_rule, STIG-ID|GEN003940, STIG-Legacy|SV-37457, STIG-Legacy|V-829, Vuln-ID|V-227830

Plugin: Unix

Control ID: de3f2034f979f1e9cbb8f6884facf17b62c33ae0cafdb7aa7bfe60817428ae4e