{"id":1234,"date":"2021-07-09T16:03:02","date_gmt":"2021-07-09T08:03:02","guid":{"rendered":"https:\/\/blog.billows.com.tw\/?p=1234"},"modified":"2021-07-09T16:10:05","modified_gmt":"2021-07-09T08:10:05","slug":"%e7%a0%94%e7%a9%b6%e4%ba%ba%e5%93%a1%e5%be%ae%e8%bb%9f%e7%99%bc%e5%b8%83%e7%9a%84%e7%b7%8a%e6%80%a5%e4%be%8b%e5%a4%96%e4%bf%ae%e8%a3%9c%e6%9c%aa%e8%83%bd%e5%ae%8c%e5%85%a8printnightmare%e6%bc%8f","status":"publish","type":"post","link":"https:\/\/blog.billows.com.tw\/?p=1234","title":{"rendered":"\u7814\u7a76\u4eba\u54e1:\u5fae\u8edf\u767c\u5e03\u7684\u7dca\u6025\u4f8b\u5916\u4fee\u88dc\u672a\u80fd\u5b8c\u6574\u4fee\u88dcPrintNightmare\u6f0f\u6d1e"},"content":{"rendered":"\n<p>\u5373\u4f7f Microsoft\u57287\u67086\u65e5\u70ba Windows 10 \u7248\u672c 1607\u3001Windows Server 2012 \u548c Windows Server 2016 \u7684 PrintNightmare \u6f0f\u6d1e\u767c\u5e03\u4e86<a href=\"https:\/\/blog.billows.com.tw\/?p=1227\">\u7dca\u6025\u4f8b\u5916<\/a>\u4fee\u88dcKB5004945\uff0c\u96a8\u8457\u8d8a\u4f86\u8d8a\u591a\u7684\u7814\u7a76\u4eba\u54e1\u958b\u59cb\u4fee\u88dc\u4ed6\u5011\u7684\u6f0f\u6d1e\u4e26\u6e2c\u8a66\u4fee\u88dc\uff0c\u4eca\u78ba\u5b9a\u6f0f\u6d1e\u53ef\u5b8c\u5168\u7e5e\u904e\u6574\u500b\u4fee\u88dc\u4f86\u5be6\u73fe\u9060\u7aef\u7a0b\u5f0f\u78bc\u57f7\u884c(RCE)\u548c\u672c\u5730\u7279\u6b0a\u5347\u7d1a(LPE)\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"289\" src=\"https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2021\/07\/image-12.png\" alt=\"\" class=\"wp-image-1235\" srcset=\"https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2021\/07\/image-12.png 554w, https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2021\/07\/image-12-300x156.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<p>PrintNightmare \u6e90\u65bc Windows <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/printdocs\/print-spooler\">Print Spooler<\/a>\u670d\u52d9\u4e2d\u7684\u932f\u8aa4\uff0c\u8a72\u670d\u52d9\u7ba1\u7406\u672c\u5730\u7db2\u8def\u5167\u7684\u5217\u5370\u904e\u7a0b\u3002\u8a72\u5a01\u8105\u7684\u4e3b\u8981\u554f\u984c\u662f\u975e\u7ba1\u7406\u54e1\u7528\u6236\u80fd\u5920load\u4ed6\u5011\u81ea\u5df1\u7684\u5217\u5370\u6a5f\u9a45\u52d5\u7a0b\u5f0f\uff0c\u4f46\u9019\u5df2\u5f97\u5230\u7cfe\u6b63\u3002\u5fae\u8edf<a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/july-7-2021-kb5004948-os-build-14393-4470-out-of-band-fb676642-a3fe-4304-a79c-9d651d2f6550\">\u6700\u65b0<\/a>\u66f4\u65b0\u8981\u6c42\u4e00\u822c\u4f7f\u7528\u8005\u50c5\u80fd\u5b89\u88dd\u7d93\u5408\u6cd5\u7c3d\u767c\u7684\u5370\u8868\u6a5f\u9a45\u52d5\u7a0b\u5f0f\uff0c\u7ba1\u7406\u54e1\u5247\u53ef\u5b89\u88dd\u7d93\u7c3d\u767c\u6216\u672a\u7d93\u7c3d\u767c\u7684\u9a45\u52d5\u7a0b\u5f0f\u3002<\/p>\n\n\n\n<p>\u5728\u66f4\u65b0\u767c\u5e03\u5f8c\uff0c\u7f8e\u570bCERT\/CC \u6f0f\u6d1e\u5206\u6790\u5e2b Will Dormann \u8b66\u544a\u8aaa\uff0c\u8a72\u88dc\u4e01\u201c\u4f3c\u4e4e\u53ea\u89e3\u6c7a\u200b\u200b\u4e86 PrintNightmare \u7684\u9060\u7aef\u7a0b\u5f0f\u78bc\u57f7\u884c\uff08\u901a\u904e SMB \u548c RPC \u7684 RCE\uff09\uff0c\u800c\u4e0d\u662f\u672c\u5730\u7279\u6b0a\u5347\u7d1a\uff08LPE\uff09\u201d\uff0c\u56e0\u6b64\u5141\u8a31\u653b\u64ca\u8005\u6feb\u7528\u5f8c\u8005\u4ee5\u7372\u53d6\u6613\u53d7\u653b\u64ca\u7cfb\u7d71\u7684 SYSTEM \u6b0a\u9650\u3002\u73fe\u5728\uff0c\u66f4\u65b0\u7684\u9032\u4e00\u6b65\u6e2c\u8a66\u986f\u793a\uff0c\u653b\u64ca\u76ee\u6a19\u7684\u6f0f\u6d1e\u53ef\u4ee5<a href=\"https:\/\/twitter.com\/gentilkiwi\/status\/1412771368534528001\">\u7e5e\u904e<\/a>\u4fee\u88dc\u5b8c\u5168\u7372\u5f97\u9060\u7aef\u7a0b\u5f0f\u78bc\u57f7\u884c(RCE)\u548c\u672c\u5730\u7279\u6b0a\u5347\u7d1a(LPE)\u3002\u4f46\u662f\uff0c\u8981\u5be6\u73fe\u9019\u4e00\u9ede\uff0c\u5fc5\u9808\u555f\u7528Windows\u7fa4\u7d44\u653f\u7b56(Group Policy) \u4e2d\u540d\u70ba\u201c<a href=\"https:\/\/docs.microsoft.com\/en-us\/troubleshoot\/windows-client\/group-policy\/point-print-restrictions-policies-ignored\">Point and Print Restrictions<\/a>\u201d \u7684\u653f\u7b56\uff08Computer Configuration\\Policies\\Administrative Templates\\Printers: Point and Print Restrictions\uff09\uff0c\u4f7f\u7528\u8a72\u653f\u7b56\u5b89\u88dd\u60e1\u610f\u5370\u8868\u6a5f\u9a45\u52d5\u7a0b\u5f0f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"708\" src=\"https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2021\/07\/image-13.png\" alt=\"\" class=\"wp-image-1237\" srcset=\"https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2021\/07\/image-13.png 681w, https:\/\/blog.billows.com.tw\/wp-content\/uploads\/2021\/07\/image-13-289x300.png 289w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>\u503c\u5f97\u6ce8\u610f\uff0cMicrosoft \u70ba CVE-2021-34527 \u66f4\u65b0\u4e26\u4e0d\u80fd\u6709\u6548\u9632\u6b62Point and Print\u653f\u7b56\u4e2d \u201cNoWarningNoElevationOnInstal\u201d\u8a2d\u7f6e\u70ba 1 (set to 1)\u7684\u7cfb\u7d71\u958b\u63a1\u3002Dormann<a href=\"https:\/\/www.kb.cert.org\/vuls\/id\/383432\">\u8868\u793a<\/a>\uff0c\u5c31\u5fae\u8edf\u800c\u8a00\uff0c\u5b83\u5728\u5176<a href=\"https:\/\/msrc.microsoft.com\/update-guide\/vulnerability\/CVE-2021-34527\">\u516c\u544a<\/a>\u4e2d<a href=\"https:\/\/msrc.microsoft.com\/update-guide\/vulnerability\/CVE-2021-34527\">\u89e3\u91cb<\/a>\u8aaa\uff0c\u201dPoint and Print\u201d \u8207\u6b64\u6f0f\u6d1e\u6c92\u6709\u76f4\u63a5\u95dc\u4fc2\uff0c\u4f46\u8a72\u6280\u8853\u524a\u5f31\u4e86\u672c\u5730\u74b0\u5883\uff0c\u5f9e\u800c\u4f7f\u6f0f\u6d1e\u53ef\u88ab\u958b\u63a1\u3002\u201d<\/p>\n\n\n\n<p>\u96d6\u7136 Microsoft \u5df2\u5efa\u8b70\u505c\u6b62\u548c\u95dc\u9589 Print Spooler \u670d\u52d9\u7684\u6838\u5fc3\u9078\u9805\uff0c\u4f46\u53e6\u4e00\u7a2e<a href=\"https:\/\/support.microsoft.com\/en-us\/topic\/kb5005010-restricting-installation-of-new-printer-drivers-after-applying-the-july-6-2021-updates-31b91c02-05bc-4ada-a7ea-183b129578a7\">\u89e3\u6cd5<\/a>\u662f\u555f\u7528Point and Print\uff0c\u4e26\u901a\u904e\u914d\u7f6e\u201dRestrictDriverInstallationToAdministrators\u201d\u8a18\u9304\u6a94\uff0c\u4f86\u9650\u5236\u7ba1\u7406\u54e1\u55ae\u7368\u5b89\u88dd\u5370\u8868\u6a5f\u9a45\u52d5\u7a0b\u5f0f\u7684\u6b0a\u9650\u4ee5\u9632\u6b62\u666e\u901a\u7528\u6236\u5728\u5370\u8868\u6a5f\u4f3a\u670d\u5668\u4e0a\u5b89\u88dd\u9a45\u52d5\u7a0b\u5f0f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5373\u4f7f Microsoft\u57287\u67086\u65e5\u70ba Windows 10 \u7248\u672c 1607\u3001Windows Server 20 <a class=\"read-more\" href=\"https:\/\/blog.billows.com.tw\/?p=1234\">READ MORE<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[174],"class_list":["post-1234","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-news"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/1234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1234"}],"version-history":[{"count":4,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/1234\/revisions"}],"predecessor-version":[{"id":1241,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/1234\/revisions\/1241"}],"wp:attachment":[{"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1234"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1234"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.billows.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}