Microsoft Edge
TMA-EDGE-1.4.1
Ensure 'Allow read access via the File System API on these sites' is set to 'Disabled'
Descripción
This policy setting allows organizations to list the URL patterns that specify which sites can ask users to grant them read access to files or directories in the host operating system´s file system via the File System API. The recommended state for this setting is: Disabled. Rationale: This API allows web apps to read from files and folders on user devices. It also allows for the reading files and the File System Access API provides the ability to open a directory and enumerate its contents. The policy is Disabled when it is not present: the audit prints 'absent' when neither the value FileSystemReadAskForUrls nor a populated list subkey FileSystemReadAskForUrls exists under HKLM\SOFTWARE\Policies\Microsoft\Edge, otherwise the configured entries.
Cómo se verifica
Método de auditoría: Registro de Windows
$l = @((Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\FileSystemReadAskForUrls' -ErrorAction SilentlyContinue).PSObject.Properties | Where-Object { $_.Name -notlike 'PS*' } | ForEach-Object { "$($_.Value)" }); $v = (Get-ItemProperty -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge' -Name 'FileSystemReadAskForUrls' -ErrorAction SilentlyContinue).'FileSystemReadAskForUrls'; if ($null -eq $v -and $l.Count -eq 0) { 'absent' } else { 'configured: ' + (@($v) + $l -join ', ') }- Salida esperada
absent
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Configure through Group Policy: Computer Configuration\Policies\Administrative Templates\Microsoft Edge\Content settings\Allow read access via the File System API on these sites = Disabled. Locally, remove the policy entries at HKLM\SOFTWARE\Policies\Microsoft\Edge\FileSystemReadAskForUrls after reviewing them.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- edgebrowsercis-l2
- Referencia
- CIS Microsoft Edge Benchmark v5.0.0 - 1.4.1 Ensure 'Allow read access via the File System API on these sites' is set to 'Disabled'
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target edge --level 2