某通用型毕业论文管理系统存在SQL注射(无需登录,无视waf,无视防火墙,...

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: 无需账号登陆(因为可以自己任意加),无视waf(因为数据加密),秒加管理员(因为管理员权限最大)。。。。 ### 详细说明: 前期回顾: [WooYun: 某通用型毕业论文管理系统存在SQL注射(无视waf,影响众多高校)](http://www.wooyun.org/bugs/wooyun-2014-083083) 实际上sid参数经解密直接带入了查询,但是大部分页面都是有验证,于是我找呀找,终于找到了一处 /LoginRole.aspx #1,首先看下LoginRole类,都包含了哪些函数 ``` .........//部分源代码省略 protected void Page_Load(object sender, EventArgs e); // Properties protected global_asax ApplicationInstance { get; } protected DefaultProfile Profile { get; } } ``` 大概看了下,global_asax ApplicationInstance、DefaultProfile Profile均没有session验证,那么会不会在page_load里面呢 #2、分析下Page_load ``` protected void Page_Load(object sender, EventArgs e) { if (!base.IsPostBack) { DataRow dataRow = this.userclass.GetDataRow("select * from t_user where userid='" + this.userclass.getUSERuserid(base.Request.QueryString["sid"], "userid") + "'"); if (dataRow != null) { if (dataRow["iszj"].ToString() == "是") { this.ImageButton4.Visible = true; } if (dataRow["yuanzhang"].ToString() != "") { this.ImageButton1.Visible = true; } if...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息