HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsGalleryGalleryDNN gallery remote file upload without authentication DNN gallery remote file upload without authentication
Previous
 
Next
New Post
8/6/2009 12:11 AM
 

Hi, i am having this serious security issue and i am using DNN v 4.8. When i go to http://localhost/dotnetnuke/Providers/HtmlEditorProviders/Fck/fcklinkgallery.aspx select the file option then i put " __doPostBack('ctlURL$cmdUpload','')" on my address bar. it will bring me to a page that will allow my user to upload any file to my site by using browse button.

How do i prevent that from happening? Please help.

Thanks!

 

 

 
New Post
8/6/2009 3:34 AM
 

 Hello,

This isn't a gallery module error; It's using the HTMLEditor. 
It appears to be a known issue that was corrected in 4.8.3 (existed up to 4.8.2). Please see this thread
http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/313894/scope/posts/Default.aspx
 
and this security bulletin
http://www.dotnetnuke.com/News/SecurityPolicy/SecurityBulletinno17/tabid/1162/Default.aspx
 
as they may confirm or deny if that is the issue you are dealing with. If so, update your installation  (after proper testing and backing up, of course). I'd recommend updating to the latest version of DNN, meaning 4.9.4, for your installation. As there are likely to be less possible module complications than upgrading to 5, depending on what 3rd party modules you use.

 
New Post
8/6/2009 5:04 AM
 

Baatezu wrote
 

 Hello,

This isn't a gallery module error; It's using the HTMLEditor. 
It appears to be a known issue that was corrected in 4.8.3 (existed up to 4.8.2). Please see this thread
http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/108/threadid/313894/scope/posts/Default.aspx
 
and this security bulletin
http://www.dotnetnuke.com/News/SecurityPolicy/SecurityBulletinno17/tabid/1162/Default.aspx
 
as they may confirm or deny if that is the issue you are dealing with. If so, update your installation  (after proper testing and backing up, of course). I'd recommend updating to the latest version of DNN, meaning 4.9.4, for your installation. As there are likely to be less possible module complications than upgrading to 5, depending on what 3rd party modules you use.

 

Hi, thanks for the reply. I have another site that is running under DNN version 3.x.x with some customise module inside. Is there any other alternative other than upgrading the DNN version? I am worry about the impact of DNN upgrade to my existing production page which might cost a lot of issues :(

 
New Post
8/6/2009 9:40 AM
 

I'd recommend doing a lot of testing with the 3rd party/custom apps to look for any issues and upgrading. Perhaps talking to whoever did the customizing for you and see what they say about how that module will work in the latest version.

The only other option that I can think of off the top of my head is to find the code changes regarding this issue and apply them to the 3.x.x version you have, build and upload the new dll(s). I don't recommend this, as trying to 'splice' in a single change, especially one such as file upload, has potential to have unexpected consequences.

A third option I just thought of - Restrict the "Allowed File Types" in the host settings to the smallest amount of extensions you can. If all they can do is upload txt files, it's not going to compromise your system. 

 
New Post
8/6/2009 10:59 AM
 

Baatezu wrote
 

I'd recommend doing a lot of testing with the 3rd party/custom apps to look for any issues and upgrading. Perhaps talking to whoever did the customizing for you and see what they say about how that module will work in the latest version.

The only other option that I can think of off the top of my head is to find the code changes regarding this issue and apply them to the 3.x.x version you have, build and upload the new dll(s). I don't recommend this, as trying to 'splice' in a single change, especially one such as file upload, has potential to have unexpected consequences.

A third option I just thought of - Restrict the "Allowed File Types" in the host settings to the smallest amount of extensions you can. If all they can do is upload txt files, it's not going to compromise your system. 

thanks for all the recommendation. i am thinking if it is possible for me just to add some checking on that particular page to filter out the javascript action?

 

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Module ForumsModule ForumsGalleryGalleryDNN gallery remote file upload without authentication DNN gallery remote file upload without authentication


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Start  Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.