Ucenter Home最新版SQL注入三处

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

### 简要描述: Ucenter Home最新版SQL注入三处 ### 详细说明: 从官方下载最新版Ucenter Home 第一处SQL注入: 个人设置——个人资料——基本资料 文件/source/cp_profile.php: ``` if($_GET['op'] == 'base') { if(submitcheck('profilesubmit') || submitcheck('nextsubmit')) { if(!@include_once(S_ROOT.'./data/data_profilefield.php')) { include_once(S_ROOT.'./source/function_cache.php'); profilefield_cache(); } $profilefields = empty($_SGLOBAL['profilefield'])?array():$_SGLOBAL['profilefield']; ...... //隐私 $inserts = array(); foreach ($_POST['friend'] as $key => $value) { $value = intval($value); $inserts[] = "('base','$key','$space[uid]','$value')"; } if($inserts) { $_SGLOBAL['db']->query("DELETE FROM ".tname('spaceinfo')." WHERE uid='$space[uid]' AND type='base'"); $_SGLOBAL['db']->query("INSERT INTO ".tname('spaceinfo')." (type,subtype,uid,friend) VALUES ".implode(',', $inserts)); } ``` 从上述代码中可以看到: ``` $inserts = array(); foreach ($_POST['friend'] as $key => $value) { $value = intval($value); $inserts[] =...

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