id: os_password_proximity_disable
title: Disable Proximity Based Password Sharing Requests
discussion: |
  Proximity based password sharing requests _MUST_ be disabled.

  The default behavior of macOS and iOS is to allow users to request passwords from other known devices. This feature _MUST_ be disabled to prevent passwords from being shared.
references:
  nist:
    cce:
      macos_27:
        - CCE-XXXXX-X
      macos_26:
        - CCE-95251-5
      macos_15:
        - CCE-94249-0
      macos_14:
        - CCE-92845-7
      ios_27:
        - CCE-XXXXX-X
      ios_26:
        - CCE-95675-5
      ios_18:
        - CCE-94456-1
      ios_17:
        - CCE-93440-6
    800-53r5:
      - IA-5
    800-171r3:
      - 03.05.12
  disa:
    cci:
      - CCI-000381
    srg:
      - SRG-OS-000095-GPOS-00049
    disa_stig:
      macos_26:
        - APPL-26-005060
      macos_15:
        - APPL-15-005060
      macos_14:
        - APPL-14-005060
      ios_26:
        - AIOS-26-012900
      ios_18:
        - AIOS-18-012900
      ios_17:
        - AIOS-17-012900
    cmmc:
      - IA.L2-3.5.8
      - IA.L2-3.5.9
  bzk:
    bio:
      - 8.12
      - 8.27
  hhs:
    hicp:
      - 2.L.A
      - 3.L.C
      - 4.L.A
      - 4.L.B
  cis:
    benchmark:
      ios_26:
        - 3.2.1.29 (level 1 - Institutionally-Owned Devices)
      ios_18:
        - 3.2.1.29 (level 1 - Institutionally-Owned Devices)
      ios_17:
        - 3.2.1.29 (level 1 - Institutionally-Owned Devices)
    controls_v8:
      - 4.1
      - 4.8
  bsi:
    indigo:
      ios_26:
        - ANNEX K
      ios_18:
        - ANNEX K
      ios_17:
        - ANNEX K
platforms:
  macOS:
    '27.0': {}
    '26.0':
      benchmarks:
        - name: disa_stig
          severity: medium
        - name: nlmapgov_plus
    '15.0':
      benchmarks:
        - name: disa_stig
          severity: medium
        - name: nlmapgov_plus
    enforcement_info:
      check:
        shell: |-
          /usr/bin/osascript -l JavaScript << EOS
          $.NSUserDefaults.alloc.initWithSuiteName('com.apple.applicationaccess')\
          .objectForKey('allowPasswordProximityRequests').js
          EOS
        result:
          string: 'false'
    introduced: '10.14'
  iOS:
    '27.0':
      supervised: true
    '26.0':
      supervised: true
      benchmarks:
        - name: cis_lvl1_enterprise
        - name: cis_lvl2_enterprise
        - name: ios_stig
          severity: medium
        - name: indigo_base
          severity: medium
        - name: indigo_high
          severity: medium
    '18.0':
      supervised: true
      benchmarks:
        - name: cis_lvl1_enterprise
        - name: cis_lvl2_enterprise
        - name: ios_stig
          severity: medium
        - name: indigo_base
          severity: medium
        - name: indigo_high
          severity: medium
    '17.0':
      supervised: true
      benchmarks:
        - name: cis_lvl1_enterprise
        - name: cis_lvl2_enterprise
        - name: ios_stig
          severity: medium
        - name: indigo_base
          severity: medium
        - name: indigo_high
          severity: medium
    introduced: '12.0'
tags:
  - 800-53r5_low
  - 800-53r5_moderate
  - 800-53r5_high
  - 800-171
  - cisv8
  - cnssi-1253_low
  - cnssi-1253_high
  - cmmc_lvl2
  - cnssi-1253_moderate
  - hicp_lp
  - cmmc_lvl3
mobileconfig_info:
  - PayloadType: com.apple.applicationaccess
    PayloadContent:
      - allowPasswordProximityRequests: false
