Skip to content

Instantly share code, notes, and snippets.

@jwieder
Created September 13, 2021 15:33
Show Gist options
  • Save jwieder/a321cccf9b900cf7cd72a965b6e0d76a to your computer and use it in GitHub Desktop.
Save jwieder/a321cccf9b900cf7cd72a965b6e0d76a to your computer and use it in GitHub Desktop.
BACKUP YOUR REGISTRY FIRST. This gist mitigates CVE-2021-40444 using a registry key that automates steps from https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsCurrentVersionInternet SettingsZones0]
1001=dword00000003
1004=dword00000003
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsCurrentVersionInternet SettingsZones1]
1001=dword00000003
1004=dword00000003
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsCurrentVersionInternet SettingsZones2]
1001=dword00000003
1004=dword00000003
[HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsCurrentVersionInternet SettingsZones3]
1001=dword00000003
1004=dword00000003
[-HKEY_CLASSES_ROOT.docxShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}]
[-HKEY_CLASSES_ROOT.docShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}]
[-HKEY_CLASSES_ROOT.docmShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}]
[-HKEY_CLASSES_ROOT.rtfShellEx{8895b1c6-b41f-4c1c-a562-0d564250836f}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment