Vulnérabilité dans Microsoft Windows

Date de publication :

CVE-2021-36934 [Score CVSS v3 : 7.8]
Une vulnérabilité au sein de Microsoft Windows a été corrigée. Cette faille est due à l’existence de listes de contrôle d'accès (ACL) trop permissives sur plusieurs fichiers système, y compris la base de données Security Accounts Manager (SAM). Son exploitation peut permettre à un attaquant authentifié d’exécuter du code arbitraire avec les privilèges SYSTEM.

Informations

La faille est activement exploitée :

Un correctif existe :

Une mesure de contournement existe :

Risques

Risques

  • Exécution de code arbitraire

Criticité

  • Score CVSS v3 : 7.8

Existence d’un code d’exploitation

  • Microsoft a signalé qu’un ou plusieurs codes d’exploitation existent. Aucune exploitation de cette faille n’a été pour l’instant recensée par l’éditeur. 

Composants vulnérables

Microsoft est en cours d’investigation concernant l’ampleur de cette vulnérabilité en termes de composants impactés. Dans l’attente des résultats d’investigations de l’éditeur, il est raisonnable de considérer que les éléments suivants sont impactés :

  • Windows Server 2012 R2 (Server Core installation)
  • Windows Server 2012 R2
  • Windows Server 2012 (Server Core installation)
  • Windows Server 2012
  • Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)
  • Windows Server 2008 R2 for x64-based Systems Service Pack 1
  • Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)
  • Windows Server 2008 for x64-based Systems Service Pack 2
  • Windows Server 2008 for 32-bit Systems Service Pack 2
  • Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)
  • Windows RT 8.1
  • Windows 8.1 for x64-based systems
  • Windows 8.1 for 32-bit systems 
  • Windows 7 for x64-based Systems Service Pack 1 
  • Windows 7 for 32-bit Systems Service Pack 1 
  • Windows Server 2016 (Server Core installation) 
  • Windows Server 2016 
  • Windows 10 Version 1607 for x64-based Systems 
  • Windows 10 Version 1607 for 32-bit Systems 
  • Windows 10 for x64-based Systems 
  • Windows 10 for 32-bit Systems
  • Windows Server, version 20H2 (Server Core Installation) 
  • Windows 10 Version 20H2 for ARM64-based Systems 
  • Windows 10 Version 20H2 for 32-bit Systems 
  • Windows 10 Version 20H2 for 32-bit Systems 
  • Windows Server, version 2004 (Server Core installation) 
  • Windows 10 Version 2004 for x64-based Systems
  • Windows 10 Version 2004 for ARM64-based Systems 
  • Windows 10 Version 2004 for 32-bit Systems 
  • Windows Server, version 1909 (Server Core installation) 
  • Windows 10 Version 1909 for ARM64-based Systems 
  • Windows 10 Version 1909 for x64-based Systems 
  • Windows 10 Version 1909 for 32-bit Systems
  • Windows Server 2019 (Server Core installation) 
  • Windows Server 2019
  • Windows 10 Version 1809 for ARM64-based Systems
  • Windows 10 Version 1809 for x64-based Systems
  • Windows 10 Version 1809 for 32-bit Systems
  • Windows 10 Version 1803 for ARM64-based Systems
  • Windows 10 Version 1803 for x64-based Systems 
  • Windows 10 Version 1803 for 32-bit Systems 

CVE

Solutions ou recommandations

Mise en place de correctifs de sécurité

  • Aucun correctif de sécurité n’est disponible à l’heure actuelle.
  • Un POC est disponible ici

Solution de contournement

Microsoft propose une solution de contournement en deux étapes afin de mitiger les risques liés à cette vulnérabilité : 

Limiter l'accès au contenu de %windir%\system32\config :

  • Ouvrir l'invite de commande ou Windows PowerShell en tant qu'administrateur.
  • Exécuter la commande suivante : icacls %windir%\system32\config\*.* /inheritance:e

Supprimer les copies d'ombre du Volume Shadow Copy Service (VSS) :

  • Supprimer tous les points de restauration système et les volumes fantômes qui existaient avant de restreindre l'accès à %windir%\system32\config.
  • Créer un nouveau point de restauration système (si souhaité).

Il est à noter que la suppression des copies fantômes pourrait avoir un impact sur les opérations de restauration, y compris sur la possibilité de restaurer des données avec des applications de sauvegarde tierces.