{"id":21124,"date":"2022-10-22T04:50:58","date_gmt":"2022-10-21T20:50:58","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=21124"},"modified":"2022-10-22T04:51:37","modified_gmt":"2022-10-21T20:51:37","slug":"linux-wget-bug","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-wget-bug.html","title":{"rendered":"Linux wget\u6f0f\u6d1e\uff1a\u80fd\u4e0d\u80fd\u91cd\u89c6\u4e00\u4e0b\u3002"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u8fd1\u65e5\uff0c\u56fd\u5916\u5b89\u5168\u7814\u7a76\u5458Dawid Golunski\u548cSecuriTeam\u66dd\u51faGNU wget\u6f0f\u6d1e\uff08CVE-2016-4971\uff09\uff0c6\u67089\u65e5GNU wget\u9879\u76ee\u53d1\u5e03\u6587\u4ef6\u4e0b\u8f7d\u5305\u65b0\u72481.18\u4fee\u590d\u6f0f\u6d1e\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n CVE-2016-4971 \u6f0f\u6d1e\u56de\u987e<\/strong><\/div>\n GUN wget \u4f5c\u4e3aLinux\u7cfb\u7edf\u5e38\u7528\u7684\u4e0b\u8f7d\u5de5\u5177\uff0c\u652f\u6301http\u3001https\u3001ftp \u7b49\u591a\u79cd\u534f\u8bae\uff0c\u4f46\u5f53\u4f7f\u7528wget \u4e0b\u8f7d\u6587\u4ef6\u65f6\uff0c\u5982\u679c\u521d\u59cb\u4e0b\u8f7dhttp\u670d\u52a1\u63d0\u4f9b\u8d44\u6e90\u7684\u670d\u52a1\u5668\u5c06\u4e0b\u8f7d\u8d44\u6e90\u91cd\u5b9a\u5411\u5230ftp\u670d\u52a1\u65f6\uff0cwget \u4f1a\u9ed8\u8ba4\u4fe1\u8d56http\u670d\u52a1\u5668\u91cd\u5b9a\u5411\u7684ftp \u94fe\u63a5\u5730\u5740\u548c\u6587\u4ef6\u540d\uff0c\u800c\u4e0d\u505a\u4e8c\u6b21\u9a8c\u8bc1\uff0c\u4ece\u800c\u53ef\u80fd\u4e0b\u8f7d\u5230\u6076\u610f\u9493\u9c7c\u8005\u7684\u6076\u610f\u6587\u4ef6\uff0c\u5bfc\u81f4\u4e3b\u673a\u88ab\u5165\u4fb5\u3002<\/p>\n \u5c06\u8fd1\u4e00\u4e2a\u6708\u540e\uff0c\u5305\u542bGNU wget\u6807\u51c6\u5305\u7684\u6240\u6709Linux\u53d1\u884c\u7248\u4ecd\u672a\u4fee\u590d\u88ab\u66dd\u6f0f\u6d1e\uff08CVE-2016-4971\uff09\u3002<\/p>\n GNU wget\u6f0f\u6d1e\u5bfc\u81f4\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c<\/strong><\/div>\n \u5b89\u5168\u7814\u7a76\u5458Dawid Golunski\u5728\u516c\u544a\u4e2d\u89e3\u91ca\u9053\uff0c\u6076\u610f\u653b\u51fb\u8005\u80fd\u8bf1\u9a97wget\u6587\u4ef6\u4e0b\u8f7d\u8fc7\u7a0b\u5728Linux\u8bbe\u5907\u4e0a\u6267\u884c\u4ee3\u7801\u3002Dawid Golunski\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u544a\u8bc9\u5916\u5a92\uff0c\u201c\u653b\u51fb\u8005\u53ef\u80fd\u6f5c\u5728\u6ee5\u7528\u6f0f\u6d1e\u4e0a\u4f20\u4efb\u610f\u6587\u4ef6\u5e76\u6267\u884c\u4ee3\u7801\u3002\u201d \u5f53\u91cd\u5b9a\u5411\u5230FTP\u94fe\u63a5\u65f6\uff0cGNU wget\u4e0d\u91cd\u547d\u540d\u6587\u4ef6<\/strong><\/div>\n Golunski\u53d1\u73b0\uff0c\u5f53\u4ece\u6700\u521d\u7684HTTP URL\u91cd\u5b9a\u5411\u5230FTP\u94fe\u63a5\u65f6\uff0cwget\u4e0d\u80fd\u6b63\u786e\u5904\u7406\u6587\u4ef6\u540d\u3002 \u5728\u6b63\u5e38\u7684HTTP\u91cd\u5b9a\u5411\u5230HTTP\u4e2d\uff0c\u4e3a\u4e86\u9632\u6b62\u8fdc\u7a0b\u4ee3\u7801\u6267\u884c\uff08Remote Code Execution\uff0c\u7f29\u5199RCE\uff09\uff0cGNU wget\u5c06\u4ee5\u539f\u59cb\u6587\u4ef6\u540d\u91cd\u547d\u540d\u7b2c\u4e8c\u4e2a\u6587\u4ef6\uff08.bash_profile to safe_file.txt\uff09\u3002\u7136\u800c\uff0c\u4eceHTTP\u91cd\u5b9a\u5411\u5230FTP\u94fe\u63a5\u65f6\uff0cwget\u4e0d\u5305\u542b\u8be5\u5b89\u5168\u673a\u5236\u3002\u8fd9\u4e2a\u95ee\u9898\u5f71\u54cd\u6253\u8865\u4e011.18\u7248\u672c\u4e4b\u524d\u7684\u6240\u6709GNU wget\u7248\u672c\u3002<\/p>\n \u56e0\u4e3awget\u547d\u4ee4\u7ecf\u5e38\u7528\u4e8e\u5927\u591a\u6570\u65f6\u5019\u81ea\u52a8\u6267\u884c\u4e0b\u8f7d\u6587\u4ef6\u7684\u811a\u672c\u4e2d\uff0c\u8fd9\u5c31\u8ba9\u653b\u51fb\u8005\u6709\u4e86\u53ef\u4e58\u4e4b\u673a\u3002\u6240\u6709\u7cfb\u7edf\u7ba1\u7406\u5458\u5e94\u5ba1\u67e5\u5c06wget\u4f5c\u4e3a\u9996\u9009\u4e0b\u8f7d\u5185\u5bb9\u7684Cronjobs\u3002 \u53d7\u5f71\u54cd\u7684Linux\u53d1\u884c\u7248\u8fdf\u8fdf\u672a\u4fee\u590d<\/strong><\/div>\n \u867d\u7136GNU wget\u9879\u76ee\u5c65\u884c\u4e86\u81ea\u5df1\u7684\u804c\u8d23\uff0c\u4f46\u4e00\u4e9bLinux\u53d1\u884c\u7248\u5374\u672a\u53ca\u65f6\u66f4\u65b0\u3002Golunski\u8868\u793a\uff0c\u53ea\u6709Ubuntu\u5c06GNU wget1.18\uff08\u5982wget 1.17-1\uff09\u5305\u542b\u5728wget\u53d1\u884c\u7248\u66f4\u65b0\u4e2d\uff0cArch Linux\u7b49\u53d1\u884c\u7248\u81ea6\u6708\u4e2d\u65ec\u5c31\u5df2\u4fee\u590d\u4e86\u8be5\u95ee\u9898\uff0c\u800cDebian\u7279\u522b\u914d\u5907\u4e86\u7f51\u7edc\u4e13\u5bb6\u4fee\u590d\u8be5\u95ee\u9898\u3002Wget 1.18\u76ee\u524d\u5305\u542b\u5728\u6700\u65b0\u201c\u6d4b\u8bd5\u201d\u548c\u201c\u4e0d\u7a33\u5b9a\u201d\u7248\u672c\u4e2d\uff0c\u53e6\u4e00\u65b9\u9762Red Hat\u5df2\u7ecf\u63a8\u8fdf\u4fee\u590d7.x\u4e2d\u5b58\u5728\u7684\u8be5\u95ee\u9898\uff0c\u540c\u65f6\u8fd8\u5ba3\u5e03\u672a\u4fee\u590d\u65e7\u72486.x\u548c5.x\u7248\u672c\u4e2d\u7684wget\u95ee\u9898\u3002\u867d\u7136CVE-2016-4971\u5b89\u5168\u9690\u60a3\u8f83\u9ad8\uff0c\u4f46\u6253\u8865\u4e01\u7684\u901f\u5ea6\u4e5f\u6bd4\u8f83\u6162\uff0c\u7814\u7a76\u4eba\u5458\u901a\u8fc7\u7535\u5b50\u90ae\u4ef6\u544a\u8bc9\u5916\u5a92\uff0c\u201c\u91cd\u8981\u7684\u662f\uff0cwget\u53d1\u5e03\u4e86\u5df2\u7ecf\u53d1\u5e03\u4e86\u65b0\u72481.18\uff0c\u56e0\u6b64\uff0c\u5982\u679c\u7528\u6237\u53d7\u5f71\u54cd\u4e14\u5e0c\u671b\u5f97\u5230\u5b89\u5168\u4fdd\u969c\uff0c\u4ed6\u4eec\u53ef\u4ee5\u4e0b\u8f7d\u5b98\u65b9\u8d44\u6e90\u3002\u201dGolunski\u548cSecuriTeam\u5df2\u7ecf\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\uff0c\u5185\u5bb9\u5305\u542b\u6f0f\u6d1e\u4e0e\u6982\u5ff5\u9a8c\u8bc1\u8be6\u60c5\u4ee5\u63d0\u9ad8\u5bf9\u95ee\u9898\u7684\u8ba4\u8bc6\u3002<\/p>\n \n |