Ecmall二次注入第四弹

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

### 简要描述: 20140618 ### 详细说明: 虽然20140618添加了防注入的 但是还是能勉强绕过。 首先注册一个会员 然后申请开店。 然后把店的名字改成 yu',user(),1 and extractvalue(1,concat(0x5c,(user()))))# 然后这里转义再入库。 在app/order.app.php中 ``` function index() { if (!IS_POST) { $goods_info = $this->_get_goods_info(); if ($goods_info === false) { /* 购物车是空的 */ $this->show_warning('goods_empty'); return; } /* 根据商品类型获取对应订单类型 */ $goods_type =& gt($goods_info['type']); $order_type =& ot($goods_type->get_order_type()); /* 显示订单表单 */ $form = $order_type->get_order_form($goods_info['store_id']); if ($form === false) { $this->show_warning($order_type->get_error()); return; } $this->_curlocal( LANG::get('create_order') ); $this->assign('goods_info', $goods_info); $this->assign($form['data']); $this->display($form['template']); } else { /* 在此获取生成订单的两个基本要素:用户提交的数据(POST),商品信息(包含商品列表,商品总价,商品总数量,类型),所属店铺 */ $goods_info = $this->_get_goods_info(); if ($goods_info === false) { /* 购物车是空的 */ $this->show_warning('goods_empty'); return; } /* 根据商品类型获取对应的订单类型 */...

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