CuuMall商城系统设计缺陷整站注射

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

### 简要描述: CuuMall商城系统设计缺陷整站注射 ### 详细说明: http://demo.cuumall.com/index.php/home/detail/index?id=323 http://demo.cuumall.com/index.php/home/new/cxview/id/7 系统sql注入过滤: ``` public function inject_checksql( ) { $bad_str = "select|insert|update|delete|'|/*|*|../|./|union|into|load_file|outfile|mid|script"; $bad_Array = explode( "|", $bad_str ); foreach ( $bad_Array as $bad_a ) { foreach ( $_GET as $g ) { if ( 0 < substr_count( strtolower( $g ), $bad_a ) ) { $this->assign( "waitSecond", 3 ); $this->assign( "msgTitle", "非法注入" ); $this->assign( "jumpUrl", "__APP__" ); $this->error( "请不要进行非法注入" ); exit( ); break; } } } foreach ( $bad_Array as $bad_a ) { foreach ( $_POST as $p ) { if ( 0 < substr_count( strtolower( $p ), $bad_a ) ) { $this->assign( "waitSecond", 3 ); $this->assign( "msgTitle", "非法注入" ); $this->assign( "jumpUrl", "__APP__" ); $this->error( "请不要进行非法注入" ); exit( ); break; } } } foreach ( $bad_Array as $bad_a ) { foreach ( $_COOKIE as $co ) { if ( 0 < substr_count( strtolower(...

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