逐浪CMS通用型SQL注入6+7(update型)

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

### 简要描述: 好像没修复,友情来提交下。本来已经放弃了的 ### 详细说明: 某功能还是存在两个UPDATE型注入,咱们可以秒改管理员密码。当然了也可以insert管理员的,为了避免一些问题就不用insert来测试了 涉及的两个类: public class MIS_Project_ProQuote : Page, IRequiresSessionState public class MIS_Target_mailQuote : Page, IRequiresSessionState ### 漏洞证明: 注入点1: 代码如下 ``` public class MIS_Project_ProQuote : Page, IRequiresSessionState protected void Button1_Click(object sender, EventArgs e) { if (!string.IsNullOrEmpty(base.Request["types"]) && this.types == "7") { string text = base.Request["id"].ToString(); //ID参数 string value = this.ProID.Value; if (!string.IsNullOrEmpty(value)) { this.mps = this.bll.SelectByType(DataConverter.CLng(value)); if (this.mps.TargetID.ToString() == "") { this.HiddenField1.Value = text; //将ID参数赋值给隐藏域 } else { this.HiddenField1.Value = this.mps.TargetID + "|" + text; } this.bll.Update("TargetID='" + this.HiddenField1.Value + "'", "ID='" + DataConverter.CLng(value) + "'"); //隐藏域没有过滤直接带入更新的查询,产生漏洞 base.Response.Write("<script>...

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