Hdwiki 设计缺陷 知邮箱可改密码(包括管理员)

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

### 简要描述: 设计缺陷。 ### 详细说明: 在control/user.php中 ``` function dogetpass(){ if(isset($this->get[2])){ $uid = is_numeric($this->get[2]) ? $this->get[2] : 0; $encryptstring=$this->get[3]; $idstring=$_ENV['user']->get_idstring_by_uid($uid,$this->time); if(!empty($encryptstring) && !empty($idstring) && ($idstring==$encryptstring)){ ``` 省略一点。 ``` }else{ $timetemp=date("Y-m-d H:i:s",$this->time); $verification= rand(1000,9999); $encryptstring=md5($this->time.$verification); $reseturl=WIKI_URL."/index.php?user-getpass-".$user['uid'].'-'.$encryptstring; $_ENV['user']->update_getpass($user['uid'],$encryptstring); $mail_subject = $this->setting['site_name'].$this->view->lang['getPass']; $mail_message = $this->view->lang['resetPassMs1'].$user['username'].$this->view->lang['resetPassMs2'].$timetemp.$this->view->lang['resetPassMs3']."<a href='".$reseturl."'...

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