【发布时间】:2018-05-19 11:03:37
【问题描述】:
我开发了一个小型应用程序,用于向数据库服务器(Oracle 11g)提交一些数据。在审查这个小应用程序的安全性时,我们观察到如下:
1. We have deployed django with https and all secure configurations like Secure Cookie and Secure Session, No Cache, etc.
2. Using BURP tool for this sample review
3. We have created two different user in this system say Normal User and Admin User
4. Opened 2 browsers(Mozilla and IE 11), On mozilla we login with Admin user and captured session id using burp tool.
5. On second browser we login with Normal user and replaced session id Normal User with Admin User.
6. whoila......On second browser, I got Admin user access by just changing the session id
我为此应用程序使用了默认会话后端。
我想知道这是否是 django 的缺陷以及如何解决这个问题..
提前致谢
【问题讨论】:
-
如果您担心安全性,您不应该使用不受支持且多年未收到补丁的 Django 版本
标签: django django-views django-sessions