LebiShop商城系统最新版设计缺陷及XSS盲打后台

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

### 简要描述: LebiShop商城系统最新版设计缺陷及XSS盲打后台 ### 详细说明: LebiShop商城系统最新版验证码存在设计缺陷可无视验证码,及存储型XSS盲打后台 验证码设计缺陷: LebiShop商城系统有两者验证码验证方式 1、直接判断POST提交的验证码已经COOKIE中的验证码是否相等 如前台普通用户登陆时 ``` // Shop.Ajax.Ajax_user public void User_Login() { string verifycode = RequestTool.RequestString("verifycode"); string code = CookieTool.GetCookieString("CheckCodef"); string UserName = RequestTool.RequestSafeString("UserName"); string PWD = RequestTool.RequestSafeString("Password"); if (code != verifycode) { base.Response.Write("{\"msg\":\"" + base.Tag("验证码错误") + "\"}"); return; } ``` 直接判断verifycode和CheckCodef是否相等 这里我们在发送请求时,将POST和COOKIE中的值设置为一样即可绕过 2、判断COOKIE的某值是否为空,然后在进行第1中方式的验证 如后台登陆 ``` // Shop.Admin.Ajax.Ajax_login public void AdminLogin() { string userName = RequestTool.RequestString("userName"); string UserPWD = RequestTool.RequestString("UserPWD"); string code = RequestTool.RequestString("code"); int saveusername = RequestTool.RequestInt("saveusername", 0); int type = RequestTool.RequestInt("type", 0); if...

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