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_SPARC_V2R4_STIG.zip

Item Details

Category: ACCESS CONTROL

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

Plugin: Unix

Control ID: 0e5c8d53b396915c6fc7c11e5a9f4b5ea5450af1fdd5e548f76805f7ffeb5ebe