macOS 15 - Sequoia

The macOS system must disable Printer Sharing

STIG ID: APPL-15-002240 | SRG: SRG-OS-000095-GPOS-00049 | Severity: Medium | CCI: CCI-000381 | Vulnerability ID: V-268530

Description

Printer Sharing must be disabled.

Check

C-268530r1034530_chk

Verify the macOS system is configured to disable Printer Sharing with the following command:/usr/sbin/cupsctl | /usr/bin/grep -c "_share_printers=0"If the result is not "1", this is a finding.

Fix

F-72461r1034529_fix

Configure the macOS system to disable Printer Sharing with the following commands:/usr/sbin/cupsctl --no-share-printers/usr/bin/lpstat -p | awk '{print $2}'| /usr/bin/xargs -I{} lpadmin -p {} -o printer-is-shared=false