23pds
V2EX  ›  Node.js

使用 koajs/session 的同学们注意了 session 存在安全 bug

  •  
  •   23pds · Oct 28, 2016 · 2813 views
    This topic created in 3522 days ago, the information mentioned may be changed or developed.

    昨天和前端一起调试程序。基于 nodejs 使用 koajs/session 处理 发现一个问题,当截断一个正常的请求时,浏览器下, session 是会失效的,但是在某些工具下,比如:burpsuite 下截断这个请求,发送给 Reperter 然后再次重放,这是 session 是不会失效的,可以重复利用。

    看图 https://pic2.zhimg.com/v2-1d684361e82169238d6943e0e64369ae.png

    OK 友情提示~

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2480 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 15:40 · PVG 23:40 · LAX 08:40 · JFK 11:40
    ♥ Do have faith in what you're doing.