问题描述

检测到目标URL存在Http Host头攻击漏洞
Apache 在未设置ServerName时,$_SERVER['SERVER_NAME']的值会接收客户端发送过来的值,此时可以利用漏洞对服务器进行攻击。

解决办法

Apache 已经验证通过,方法可行。

Apache

Apache 配置文件中需要指定 ServerName 且 UseCanonicalName 设置为 On;
vim /etc/httpd/conf/httpd.conf

ServerName ip:port
UseCanonicalName On

  

相关文章:

  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
猜你喜欢
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-10
相关资源
相似解决方案