修复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">
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>