温馨提示×

tomcatajp协议漏洞怎么修复

九三
379
2021-02-07 16:26:27
栏目: 网络安全

tomcatajp协议漏洞怎么修复

修复tomcatajp协议漏洞的方法有以下几种

1.禁用ajp协议端口

[root@host1 ~]# vim conf/server.xml

<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

2.在ajp中配置secretRequired和secret属性

[root@host1 ~]# vim conf/server.xml
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" address="YOUR_TOMCAT_IP_ADDRESS" requiredSecret="YOUR_TOMCAT_AJP_SECRET">


0