¡¾·ì϶¹«¸æ¡¿Microsoft MSDTËÁÒâ´úÂëÖ´Ðзì϶£¨CVE-2022-30190£©
°ä²¼¹¦·ò 2022-05-310x00 ·ì϶¸ÅÊö
CVE ID | CVE-2022-30190 | ·¢ÏÖ¹¦·ò | 2022-05-30 |
Àà ÐÍ | ´úÂëÖ´ÐÐ | µÈ ¼¶ | ¸ßΣ |
Ô¶³ÌÀûÓà | Ó°ÏìÁìÓò | ||
¹¥»÷¸´ÔÓ¶È | µÍ | Óû§½»»¥ | ÊÇ |
PoC/EXP | Òѹ«¿ª | ÔÚÒ°ÀûÓà | ÊÇ |
0x01 ·ì϶ÏêÇé
5ÔÂ30ÈÕ£¬Î¢Èí°ä²¼°²È«²¼¸æ£¬Åû¶ÁË Microsoft MSDTÖеÄËÁÒâ´úÂëÖ´Ðзì϶£¨CVE-2022-30190£©£¬¸Ã·ì϶µÄCVSSÆÀ·ÖΪ7.8¡£Ä¿Ç°¸Ã·ì϶ÒѾ¹«¿ªÅû¶£¬ÇÒÒѼì²âµ½ÔÚÒ°ÀûÓá£
MSDT£¨Microsoft Support Diagnostics Tool£¬Î¢ÈíÖ§³ÖÕï¶Ï¹¤¾ß£©ÊÇÒ»ÖÖʵÓ÷¨Ê½£¬ÓÃÓÚÅųý¹ÊÕϲ¢ÍøÂçÕï¶ÏÊý¾ÝÒÔ¹©×¨ÒµÈËÔ±·ÖÎöºÍ½â¾öÎÊÌâ¡£
´Ó Word µÈŲÓÃÀûÓ÷¨Ê½Ê¹Óà URL ºÍ̸ŲÓà MSDT ʱ´æÔÚ´úÂëÖ´Ðзì϶£¬³É¹¦ÀûÓø÷ì϶Äܹ»Ê¹ÓÃŲÓÃÀûÓ÷¨Ê½µÄȨÏÞÔËÐÐËÁÒâ´úÂ룬²¢ÔÚÓû§È¨ÏÞÔÊÐíµÄÁìÓòÄÚ×°Ö÷¨Ê½£¬²é¿´¡¢¸ü¸Ä»òɾ³ýÊý¾Ý£¬»ò´´½¨ÐÂÕË»§¡£·ì϶¸´ÏÖÈçÏ£º

¸Ã·ì϶ÊÇÁ¥ÊôÓÚ°×¶íÂÞ˹µÄIPµØÖ·ÉÏ´«µ½ VirusTotalµÄ¶ñÒâWord ÎĵµÖмì²âµ½µÄ¡£¶ñÒâÎļþͨ¹ýÀûÓà Word µÄÔ¶³ÌÄ£°åÖ°ÄÜ´Ó·þÎñÆ÷»ñÈ¡ HTML Îļþ£¬¶øºóʹÓá°ms-msdt://¡±URI Ö´ÐÐ PowerShell ´úÂë¡£¼´±ã½ûÓÃÁ˺꣬Microsoft Word Ò²»áͨ¹ý msdtÖ´ÐдúÂë¡£´Ë±í£¬µ±¶ñÒâÎļþ±£ÁôΪRTFÌåʽʱ£¬ÉõÖÁÎÞÐè´ò¿ªÎļþ£¬Í¨¹ý×ÊÔ´ÖÎÀíÆ÷ÖеÄÔ¤ÀÀÑ¡Ï¼´¿ÉÔÚÖ¸±êϵͳÉÏÖ´ÐÐËÁÒâ´úÂë¡£
Ó°ÏìÁìÓò
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 (Server Core installation)
Windows Server 2008 for 32-bit Systems Service Pack 2
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 10 Version 21H2 for x64-based Systems
Windows 10 Version 21H2 for ARM64-based Systems
Windows 10 Version 21H2 for 32-bit Systems
Windows 11 for ARM64-based Systems
Windows 11 for x64-based 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 x64-based Systems
Windows Server 2022 Azure Edition Core Hotpatch
Windows Server 2022 (Server Core installation)
Windows Server 2022
Windows 10 Version 21H1 for 32-bit Systems
Windows 10 Version 21H1 for ARM64-based Systems
Windows 10 Version 21H1 for x64-based 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
0x02 °²È«½¨Òé
΢Èí°²È«ÏìÓ¦ÖÐÐÄÒѾ°ä²¼ÁË´Ë·ì϶µÄÖ¸ÄÏ£¬ÊÜÓ°ÏìÓû§Äܹ»Ñ¡Ôñ½ûÓÃMSDT URLºÍ̸»òÀûÓ÷ǹٷ½²¹¶¡£º
½ûÓÃMSDT URLºÍ̸
½ûÓà MSDT URL ºÍ̸¿ÉÔ¤·À¹ÊÕÏÅųý·¨Ê½×÷ΪÁ´½ÓÆô¶¯£¬Ô̺¬Õû¸ö²Ù×÷ϵͳµÄÁ´½Ó¡£µ«ÒÀÈ»Äܹ»Ê¹ÓÃÆäËü·½Ê½½Ó¼û¹ÊÕÏÅųý·¨Ê½¡£
1.ÒÔÖÎÀíÔ±Éí·ÝÔËÐкÅÁîÌáÐÑ·û¡£
2.Òª±¸·Ý×¢²á±íÏÇëÖ´ÐкÅÁî¡°reg export HKEY_CLASSES_ROOT\ms-msdt filename¡°¡£
3.Ö´ÐкÅÁî¡°reg delete HKEY_CLASSES_ROOT\ms-msdt /f¡±¡£
³·Ïú£º
1.ÒÔÖÎÀíÔ±Éí·ÝÔËÐкÅÁîÌáÐÑ·û¡£
2.Òª¸´Ô±¸·Ý×¢²á±íÏÇëÖ´ÐкÅÁî¡°reg import filename¡±¡£
´Ë±í£¬Microsoft Defender ·À²¡¶¾Èí¼þʹÓüì²â°æ±¾1.367.719.0?»ò¸ü¸ß°æ±¾Îª¿ÉÄܵķì϶ÀûÓÃÌṩ¼ì²âºÍ±£»¤£»Microsoft Defender for Endpoint Ϊ¿Í»§Ìṩ¼ì²âºÍ¾¯±¨£»Microsoft 365 Defender ÃÅ»§ÖеÄÒÔϾ¯±¨±êÌâÄܹ»ÅúÊ¾ÍøÂçÉϵÄÍþв»î¶¯£º
l Office ÀûÓ÷¨Ê½µÄ¿ÉÒÉÐÐΪ
l Msdt.exe µÄ¿ÉÒÉÐÐΪ
²Î¿¼Á´½Ó£º
https://msrc-blog.microsoft.com/2022/05/30/guidance-for-cve-2022-30190-microsoft-support-diagnostic-tool-vulnerability/
·Ç¹Ù·½²¹¶¡
0patch ΢²¹¶¡·þÎñÖØÒªÓÃÓÚÔÚ¹Ù·½½¨¸´¿ÉÓÃ֮ǰ±£»¤ÏµÍ³¡£0patchÒѾÕë¶Ô´Ë·ì϶ΪijЩWindows°æ±¾°ä²¼ÁËÃâ·ÑµÄ΢²¹¶¡£¬µ«¸Ã²¹¶¡²»»áÆëÈ«½ûÓÃMSDTºÍ̸´¦Ö÷¨Ê½£¬¶øÖ»ÊÇÔö³¤Á˶ÔÓû§ÌṩµÄõè¾¶µÄËãÕÊ¡£°ÑÎÈ£¬ÒªÏÂÔØ´Ë΢²¹¶¡£¬±ØÒª×¢²á0patchÕÊ»§²¢×°ÖÃ0patch agent¡£¸Ã΢²¹¶¡ºÏÓÃÓÚÒÔÏÂWindows°æ±¾£º
Windows 11 v21H2
Windows 10 v21H2
Windows 10 v21H1
Windows 10 v20H2
Windows 10 v2004
Windows 10 v1909
Windows 10 v1903
Windows 10 v1809
Windows 10 v1803
Windows 7
Windows Server 2008 R2
ÏÂÔØÁ´½Ó£º
https://blog.0patch.com/2022/06/free-micropatches-for-follina-microsoft.html
ÆäËü½¨Òé
1.½¨Ò鹨¹ØWindows×ÊÔ´ÖÎÀíÆ÷ÖеÄÔ¤ÀÀ´°¸ñ£¬ÒÔ½â³ýËü×÷ΪԤÀÀ¶ñÒâÎļþʱ¿ÉÀûÓõĹ¥»÷ý½é¡£
2. ÈôÊÇÄúʹÓÃMicrosoft DefenderµÄ Attack Surface Reduction(ASR)¹æ¶¨£¬Ôò¿ÉÔÚBlockģʽϼ¤»î¡°×èÖ¹ËùÓÐOfficeÀûÓ÷¨Ê½´´½¨×Ó¹ý³Ì¡±¹æ¶¨¡£ÈôÄú»¹Ã»ÓÐʹÓÃASR¹æ¶¨£¬¿ÉÏÈÔÚAuditģʽÏÂÔËÐй涨£¬¹Û²ìÁ˾ÖÒÔÈ·±£²»»á¶ÔϵͳÔì³É²»ÀûÓ°Ïì¡£
°ÑÎÈ£º×êÑÐÈËÔ±½«¼ì²âµ½ÔÚÒ°ÀûÓõÄ0 day·ì϶±êʶΪMicrosoft Office ´úÂëÖ´ÐÐ0 day·ì϶£¨³ÆÎª¡°Follina¡±£©£¬¸Ã·ì϶ӰÏìÁËOffice 2016 ºÍ Office 2021µÈ¡£±¾¹«¸æÖØÒª²Î¿¼Î¢Èí¹Ù·½²¼¸æMicrosoft Windows Ö§³ÖÕï¶Ï¹¤¾ß (MSDT) ËÁÒâ´úÂëÖ´Ðзì϶¡£
0x03 ²Î¿¼Á´½Ó
https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2022-30190
https://doublepulsar.com/follina-a-microsoft-office-code-execution-vulnerability-1a47fce5629e
https://www.huntress.com/blog/microsoft-office-remote-code-execution-follina-msdt-bug
https://thehackernews.com/2022/05/watch-out-researchers-spot-new.html
0x04 °æ±¾ÐÅÏ¢
°æ±¾ | ÈÕÆÚ | Åú¸ÄÄÚÈÝ |
V1.0 | 2022-05-31 | ³õ´Î°ä²¼ |
V2.0 | 2022-06-02 | ÐÂÔö»º½â´ëÊ©µÈ |
0x05 ¸½Â¼
GA»Æ½ð¼×¼ò½é
GA»Æ½ð¼×¹«Ë¾³ÉÁ¢ÓÚ1996Ä꣬²¢ÓÚ2010Äê6ÔÂ23ÈÕÔÚÉî½»ËùÖÐÓ×°åÕýʽ¹ÒÅÆÉÏÊУ¬ÊǹúÄÚ¼«¾ßʵÁ¦µÄ¡¢Õ¼ÓÐÆëÈ«×ÔÖ÷֪ʶ²úȨµÄÍøÂ簲ȫ²úÆ·¡¢¿ÉÐŰ²È«ÖÎÀíÆ½Ì¨¡¢°²È«·þÎñÓë½â¾ö¹æ»®µÄ×ÛºÏÌṩÉÌ¡£
¹«Ë¾×ܲ¿Î»ÓÚ±±¾©ÊÐÖйشåÈí¼þÔ°£¬ÔÚÈ«¹ú¸÷Ê¡¡¢ÊÓ×¢×ÔÖÎÇøÉèÓзÖÖ§»ú¹¹£¬Õ¼Óи²¸ÇÈ«¹úµÄÇþ·ϵͳºÍ¼¼ÊõÖ§³ÖÖÐÐÄ£¬²¢ÔÚ±±¾©¡¢ÉϺ£¡¢³É¶¼¡¢¹ãÖÝ¡¢³¤É³¡¢º¼ÖÝµÈ¶àµØÉèÓÐÑз¢ÖÐÐÄ¡£
¶àÄêÀ´£¬GA»Æ½ð¼×ÖÂÁ¦ÓÚÌṩӵÓйú¼Ê¾ºÕùÁ¦µÄ×ÔÖ÷´´Ðµİ²È«²úÆ·ºÍ×î¼Ñʵ¼Ê·þÎñ£¬Ô®ÊÖ¿Í»§È«ÃæÌáÉýÆäIT»ù´¡ÉèÊ©µÄ°²È«ÐԺͳö²úЧÁ¦£¬Îª´òÔìºÍÌáÉý¹ú¼Ê»¯µÄÃñ×åÐÅÏ¢°²È«²úÒµÁì¾üÆ·ÅÆ¶ø²»Ð¸ÖÂÁ¦¡£
¹ØÓÚGA»Æ½ð¼×
GA»Æ½ð¼×°²È«Ó¦¼±ÏìÓ¦ÖÐÐÄÖØÒªÕë¶Ô³ÁÒª°²È«·ì϶µÄÔ¤¾¯¡¢¸ú×ٺͷÖÏíÈ«Çò×îеÄÍþвµý±¨ºÍ°²È«»ã±¨¡£
¹Ø×¢ÒÔϹ«¼ÒºÅ£¬»ñȡȫÇò×îа²È«×ÊѶ£º



¾©¹«Íø°²±¸11010802024551ºÅ