逐浪CMS任意SQL游走CMS2 V1.4 V1.5、...

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

### 简要描述: 问题出现在详细说明中 ### 详细说明: 问题出现在 ``` User\Develop\ashx\UserTage.ashx ``` 代码片段: ``` try { M_Zone_Node MZN = new M_Zone_Node(); B_EditPage B_EP = new B_EditPage(); MZN.NodeID = Convert.ToInt32(nodeid); MZN.UserID = B_U.GetLogin().UserID; string strTemp = style; string[] strStyle = strTemp.Split('|'); if (strStyle != null) { foreach (string str in strStyle) { string[] strLabel = str.Split('^');//对传递的参数进行截取 if (strLabel.Length == 2) { MZN.LabelID = strLabel[0]; MZN.style = strLabel[1]; DataTable dt = B_EP.SelLabelByLabelID(MZN);//判断是否包含 if (dt != null && dt.Rows.Count > 0) { B_EP.UpLabel(MZN);//包含则修改 --问题出现在此 } else { B_EP.AddLabel(MZN);//不包含则添加 } } } } ``` ``` public int UpLabel(M_Zone_Node model) { return Sql.UpLabel(this.strTableName, "[style]=" + model.style, string.Concat(new object[] { "[UserID]=", model.UserID, " AND [NodeID]=", model.NodeID, " AND [LabelID]=", model.LabelID }), M_Zone_Node.GetParameters(model)); } //参数被直接带入SQL 问题代码-- "[style]=" + model.style, strSql =...

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