0,Cloudera 管理页面相关debug端口
- CDH 管理页面相关端口:
Cloudera Management Service 配置 --> 相关debug端口:8087,8084,8091,8086) 
1,Hadoop端口未授权访问
hadoop.security.authorization ==> true (勾选)
hadoop.http.authentication.type ==> simple
hadoop.http.filter.initializers ==> org.apache.hadoop.security.AuthenticationFilterInitializer
hadoop.http.authentication.simple.anonymous.allowed ==> false
访问hadoop web页面
2,检测Jetty版本漏洞
- CVE-2019-10247:Jetty version 7.x, 8.x, 9.2.27 and older, 9.3.26 and older, and 9.4.16 and older
- CVE-2022-2048: Jetty 9.4.46及之前版本、10.0.9 及之前版本、11.0.9及之前版本
- CVE-2017-7657: Jetty versions 9.2.x and older, 9.3.x (all configurations), and 9.4.x
临时修复办法:直接修改jetty版本号
[root@c73 ~]
[root@c73 ~]
vim /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/jetty-6.1.26.jar
vim /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/jetty-annotations-9.3.25.v20180904.jar
vim /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/jetty-client-9.3.25.v20180904.jar
...
vim /opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/jetty-xml-9.3.25.v20180904.jar
[root@c73 ~]
Manifest-Version: 1.0
Created-By: Apache Maven Bundle Plugin
Built-By: jesse
Build-Jdk: 9.0.4
Implementation-Vendor: Eclipse.org - Jetty
Implementation-Version: 9.4.49.v20220914
url: http://www.eclipse.org/jetty
Bnd-LastModified: 1536096335442
Bundle-Classpath: .
Bundle-Copyright: Copyright (c) 2008-2017 Mort Bay Consulting Pty. Ltd
....
/opt/cloudera/parcels/CDH-6.3.2-1.cdh6.3.2.p0.1605554/jars/jetty-annotations-9.3.25.v20180904.jar [RO] 5,1 3%
:%s @9.3.25.v20180904@9.4.49.v20220914@g
|