macOS
TMA-MACOS14-6.3.7
Ensure Show Full Website Address in Safari Is Enabled
Description
Attackers use websites with malicious or unwanted content to exploit the user or the computer. Part of the attack chain is to lure someone to load their content rather than the desired content. In order to reduce the risk in interacting with unwanted content, the full website address should always be displayed in Safari. Full visibility into what site is being visited is important for privacy and security.
How it is checked
Audit method: Shell command
out=$(/usr/sbin/system_profiler SPConfigurationProfileDataType 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/grep -E 'ShowFullURLInSmartSearchField' | /usr/bin/tr -d ' '- Expected output
ShowFullURLInSmartSearchField=1;
How it is fixed
Fix method: Guidance or infrastructure patch
Profile Method: Create or edit a configuration profile with the following information: 1. The PayloadType string is com.apple.Safari 2. The key to include is ShowFullURLInSmartSearchField 3. The key must be set to: <true/>
Properties
- Operating systems
- macos-14
- Tags
- macossonoma
- Reference
- CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 6.3.7 Ensure Show Full Website Address in Safari Is Enabled
Check this host
Run this on a machine you are allowed to audit. The scan is read-only.
tmaegis scan --target macos