这个问题是指不使用规范的访问方式也能返回页面内容

appscan漏洞-- HTTP 动词篡改的认证旁路

1.在过滤器限制请求方式

    if(!"GET".equals(method)&&!"POST".equals(method)&&!"HEAD".equals(method)){

            response.setContentType("text/html;charset=GBK");
            response.setCharacterEncoding("GBK");
            response.setStatus(403);
            response.getWriter().print("<font size=6 color=red>对不起,您的请求非法,系统拒绝响应!</font>");
            return;

     }else{

     }

appscan漏洞-- HTTP 动词篡改的认证旁路

相关文章:

  • 2021-06-27
  • 2021-04-24
  • 2021-05-25
  • 2021-05-26
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-05-24
猜你喜欢
  • 2021-12-26
  • 2022-12-23
  • 2021-07-15
  • 2022-12-23
  • 2022-01-10
  • 2021-07-30
相关资源
相似解决方案