{"id":6659,"date":"2023-02-22T14:26:04","date_gmt":"2023-02-22T06:26:04","guid":{"rendered":"https:\/\/nj.transwarp.cn:8180\/?p=6659"},"modified":"2023-02-22T14:26:04","modified_gmt":"2023-02-22T06:26:04","slug":"apache-tomcat-7-0-x-7-0-100-8-5-x-8-5-51-9-0-x-9-0-31-multiple-vulnerabilities","status":"publish","type":"post","link":"https:\/\/kbwp.transwarp.cn\/?p=6659","title":{"rendered":"Apache Tomcat 7.0.x < 7.0.100 \/ 8.5.x < 8.5.51 \/ 9.0.x < 9.0.31 Multiple Vulnerabilities"},"content":{"rendered":"<h3>\u6982\u8981\u63cf\u8ff0<\/h3>\n<hr \/>\n<p>\u672c\u6587\u4e3b\u8981\u9488\u5bf9 Apache Tomcat \u670d\u52a1\u5668\u5b58\u5728\u591a\u4e2a\u6f0f\u6d1e\uff08CVE-2019-17569\u3001CVE-2020-1935\u3001CVE-2020-1938\uff09\uff0c\u9700\u8981\u5347\u7ea7\u81f3 7.0.100, 8.5.51, 9.0.31 \u6216\u66f4\u9ad8\u7248\u672c\u7684\u95ee\u9898\u3002<\/p>\n<p>\u76f8\u5173\u94fe\u63a5\uff1a<a href=\"https:\/\/www.tenable.com\/plugins\/nessus\/133845\">https:\/\/www.tenable.com\/plugins\/nessus\/133845<\/a><\/p>\n<h3>\u8be6\u7ec6\u8bf4\u660e<\/h3>\n<hr \/>\n<h4>\u786e\u8ba4\u95ee\u9898 tomcat \u7248\u672c<\/h4>\n<p>\u76ee\u524d\u4e3a\u6b62\uff0c\u5728 TDH \u4e2d\u9047\u5230\u8be5\u6f0f\u6d1e\u95ee\u9898\u7684\u7ec4\u4ef6\u4e3b\u8981\u4e3a HDFS\u3001KMS\uff1b<br \/>\nHDFS \u6d89\u53ca\u5230\u89d2\u8272 Httpfs\uff0cKMS \u5219\u4e3a KMS Server\u3002<\/p>\n<p>\u53ef\u4ee5\u901a\u8fc7\u5982\u4e0b\u7b80\u5355\u7684\u6d4b\u8bd5\u65b9\u6cd5\u786e\u8ba4\u5f53\u524d tomcat \u7248\u672c\uff1a<\/p>\n<ul>\n<li>\u627e\u5230\u6d89\u53ca\u89d2\u8272\u6240\u5728\u8282\u70b9<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630661832274.png\" alt=\"file\" \/><\/li>\n<li>\u6d4f\u89c8\u5668\u5730\u5740\u680f\u8f93\u5165 <code>{\u8282\u70b9ip}:{port}\/test<\/code> \u67e5\u770b\uff0cHttpfs \u89d2\u8272\u7684 http \u7aef\u53e3\u9ed8\u8ba4\u4e3a 14000\uff0cKMS Server \u7684 http \u7aef\u53e3\u9ed8\u8ba4\u4e3a 16000\uff0c\u7531\u53c2\u6570 <code>kms.http.port<\/code> \u8bbe\u7f6e<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630662006348.png\" alt=\"file\" \/><\/li>\n<\/ul>\n<h4>\u6362\u5305\u4fee\u590d\u6b65\u9aa4<\/h4>\n<ol>\n<li>\n<p>\u4e0b\u8f7d\u5bf9\u5e94\u7684 patch \u5305\uff0c\u5e76\u4e0a\u4f20\u5230 <strong>Manager<\/strong>\uff08<strong>TOS Registry<\/strong>\uff09 \u8282\u70b9<br \/>\n<a href=\"\/wp-content\/uploads\/2021\/09\/patch-tomcat_7.0.108_httpfs.tar.gz\">HDFS Httpfs tomcat patch \u5305<\/a><br \/>\n<a href=\"\/wp-content\/uploads\/2021\/09\/patch-tomcat_7.0.108_kms.tar.gz\">KMS Server tomcat patch \u5305<\/a><br \/>\nMD5\u503c\u5982\u4e0b\uff1a<br \/>\n<code>57b1b960dd67971ae4021a3b3139e406   patch-tomcat_7.0.108_httpfs.tar.gz<\/code><br \/>\n<code>64448f7fe19c9a8cae2d077812521553   patch-tomcat_7.0.108_kms.tar.gz<\/code><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630665773415.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u786e\u8ba4\u8282\u70b9\u4e0a\u5b58\u5728\u5bf9\u5e94\u89d2\u8272\u7684 image\uff0c\u4ee5 Httpfs \u4e3a\u4f8b\uff0cKMS \u7c7b\u4f3c<br \/>\n<code>$ docker images -a | grep -Fi httpfs<\/code><br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630665808110.png\" alt=\"file\" \/><br \/>\n\u5982\u679c\u663e\u793a\u8282\u70b9\u4e0a\u6ca1\u6709 image\uff0c\u9700\u8981\u624b\u52a8 docker pull \u62c9\u53d6\u7ec4\u4ef6\u6b63\u5728\u4f7f\u7528\u7684 httpfs \u955c\u50cf<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630665874331.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u89e3\u538b patch \u5305\u5e76\u8fdb\u5165 patch \u76ee\u5f55\u6267\u884c apply_patch.sh<\/p>\n<pre><code>$ tar -zxf patch-tomcat_7.0.108_httpfs.tar.gz \n$ cd patch-tomcat_7.0.108_httpfs\/\n$ bash apply_patch.sh <\/code><\/pre>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630665980870.png\" alt=\"file\" \/><br \/>\n\u6267\u884c\u4ee5\u4e0a\u547d\u4ee4\u540e\uff0c\u518d\u770b image \u53ef\u4ee5\u53d1\u73b0\u5df2\u7ecf\u91cd\u65b0\u751f\u6210\u65b0\u7684 Httpfs \u955c\u50cf<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630666047572.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u91cd\u542f\u5bf9\u5e94\u7684\u89d2\u8272\uff0c\u672c\u4f8b\u4e2d\u53ea\u9700\u8981\u91cd\u542f Httpfs \u89d2\u8272\u5373\u53ef<br \/>\n\u5148\u505c\u6b62\uff0c\u518d\u542f\u52a8\u5373\u53ef\u3002<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630666328917.png\" alt=\"file\" \/><\/p>\n<\/li>\n<li>\n<p>\u518d\u6b21\u786e\u8ba4 tomcat \u7248\u672c\uff0c\u672c patch \u5305\u5347\u7ea7 tomcat \u81f3 7.0.108<br \/>\n<img decoding=\"async\" src=\"\/wp-content\/uploads\/2021\/08\/image-1630666433333.png\" alt=\"file\" \/><br \/>\n\u5982\u679c\u96c6\u7fa4\u4e2d\u540c\u65f6\u5b89\u88c5\u4e86 KMS \u670d\u52a1\uff0c\u53c2\u7167 Httpfs \u7684\u6b65\u9aa4\u4fee\u590d\u5373\u53ef\u3002\u82e5\u6709\u5176\u4ed6\u7591\u95ee\uff0c\u60a8\u4e5f\u53ef\u4ee5 <a href=\"\/?p=641\" title=\"\u8054\u7cfb\u661f\u73af\u79d1\u6280\u5168\u7403\u6280\u672f\u652f\u6301\u4e2d\u5fc3\">\u8054\u7cfb\u661f\u73af\u79d1\u6280\u5168\u7403\u6280\u672f\u652f\u6301\u4e2d\u5fc3<\/a> \u4ee5\u5bfb\u6c42\u5e2e\u52a9\u3002<\/p>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981\u63cf\u8ff0 \u672c\u6587\u4e3b\u8981\u9488\u5bf9 Apache Tomcat \u670d\u52a1\u5668\u5b58\u5728\u591a\u4e2a\u6f0f\u6d1e\uff08CVE-2019-17569\u3001CVE- ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/kbwp.transwarp.cn\/?p=6659\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[122],"tags":[],"class_list":["post-6659","post","type-post","status-publish","format-standard","hentry","category-vulnerabilities_info"],"acf":[],"_links":{"self":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/6659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6659"}],"version-history":[{"count":2,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/6659\/revisions"}],"predecessor-version":[{"id":9710,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=\/wp\/v2\/posts\/6659\/revisions\/9710"}],"wp:attachment":[{"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kbwp.transwarp.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}