DedicatedThisScrapToCaoJing version: ^ all current versions (1.3Alpha is the highest version) description: ^ CTB is a real easy digital 11cn.org; open source code PHP forum for development and maintenance. Due To defects in the background management file verification, illegal users may directly add Forum Super administrators, and then threaten the forum or server >>> Dedicated This Scrap To CaoJing <
Involved versions:
^
All current versions (1.3Alpha is now the highest version)
Description:
^
CTB is an open source code PHP Forum developed and maintained by <11cn.org>. Due to defects in the background management file verification, illegal users may directly add Forum Super administrators to threaten the security of forums or servers.
Details:
^
CTB's writing is very standard, code is orderly, pleasing to the eye, and indeed a beautiful program; especially its functional modules, it really let the younger brother learn. But security is worrying:
Compile the following code:
/Admin/main. php
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~
// Get variable
If (is_array ($ _ GET )){
Foreach ($ _ GET as $ k => $ v ){
If (is_array ($ _ GET [$ k]) {
Foreach ($ _ GET [$ k] as $ k2 => $ v2 ){
$ Return [$ k] [$ k2] = $ v2;
}
} Else {
$ Return [$ k] = $ v;
}
}
}
...
$ Mod = isset ($ _ GET ['mod'])? $ _ GET ['mod']: $ _ POST ['mod'];
If (! File_exists ($ mod. ". php "{
$ Mod = "mainright ";
}
Require_once ($ mod. ". php ";
//-----------------------------------------------------------------------------
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.