[SOLVED] Problem or not?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
EoinDubh
Forum Members
Forum Members
Posts: 34
Joined: Sun Feb 28, 2010 12:52 am

[SOLVED] Problem or not?

Post by EoinDubh »

I am seeing the below code in all 12 CMSMS sites that I manage. I have restored one site from a backup taken last year and the code is there. I have looked at several other of my CMSMS installations and this code is there in all of them. Is this a part of CMSMS or do I have a corrupted copy?My sttes were installed at different times anusing different versions but I have updated them as new versions became available. The code has been trunkated as it was too long to post.

Code: Select all

<span id="leoHighlights_iframe_modal_span_container">
<div id="leoHighlights_iframe_modal_div_container" style="position: absolute; visibility: hidden; display: none; width: 520px; height: 391px; z-index: 2147483647;" onmouseover="leoHighlightsHandleIFrameMouseOver();" onmouseout="leoHighlightsHandleIFrameMouseOut();"><!-- Top iFrame --><!-- Bottom iFrame --></div>
<__script__ type="text/javascript">// <![CDATA[
   var LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT =              300;
   var LEO_HIGHLIGHTS_MAX_HIGHLIGHTS =                   50;
   var LEO_HIGHLIGHTS_IFRAME_TOP_ID =                    "leoHighlights_top_iframe";
   var LEO_HIGHLIGHTS_IFRAME_BOTTOM_ID =                 "leoHighlights_bottom_iframe";
   var LEO_HIGHLIGHTS_IFRAME_DIV_ID =                    "leoHighlights_iframe_modal_div_container";
      
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_WIDTH =     520;
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_COLLAPSED_HEIGHT =    391;
   
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_WIDTH =      520;
   var LEO_HIGHLIGHTS_IFRAME_TOTAL_EXPANDED_HEIGHT =     665;
  ;
// ]]></__script>

</span>
Last edited by EoinDubh on Thu Jul 28, 2011 5:01 pm, edited 1 time in total.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Problem or not?

Post by Wishbone »

Hmm.. I don't see it in any of my installs. Which file are you seeing it in?

Are they all on the same host? Which host?
EoinDubh
Forum Members
Forum Members
Posts: 34
Joined: Sun Feb 28, 2010 12:52 am

Re: Problem or not?

Post by EoinDubh »

The host is Hostmonster. The code shows up on a View Source on the home page. I have 12 websites that I manage that are running CMSMS. Mostly they are 1.9.4.2 but a couple are a version back. I downloaded the files from the first site that I found this on and searched all the files for the string LEO_HIGHLIGHTS without success so it may be a SQL injection thing.
EoinDubh
Forum Members
Forum Members
Posts: 34
Joined: Sun Feb 28, 2010 12:52 am

Re: Problem or not?

Post by EoinDubh »

I found the code in the database in the content_props table. I deleted the code from the table and deleted 2 files in the /tmp directory that also contained the code. I deleted the temp files from Firefos and tried the home page again. The code is still there.

I checked the database and it is gone. I am running out of ideas.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: Problem or not?

Post by Jeff »

My guess it is because you use common base templates and/or js plugins.

Without seeing the site and the template we can't tell where it is coming from.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Problem or not?

Post by Wishbone »

According to a Google search, it's some Firefox plugin doing this... Try a different browser.
Wishbone
Power Poster
Power Poster
Posts: 1368
Joined: Tue Dec 23, 2008 8:39 pm

Re: Problem or not?

Post by Wishbone »

I guess that doesn't make sense, since you found it in the database and cache.. Anyways. That's what Google said.
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Problem or not?

Post by staartmees »

If you were on shared hosting, it's possible you're site got hacked. Probably your index.php got changed. Replace your index.php with the original index.php
EoinDubh
Forum Members
Forum Members
Posts: 34
Joined: Sun Feb 28, 2010 12:52 am

[SOLVED] Re: Problem or not?

Post by EoinDubh »

I got it fixed. I downloaded a database dump and went through the SQL looking for LEO_. I found the section which was quite large and deleted it. Then I dumped the database and reloaded it. Next I uploaded a frest copy of 1.9.4 and ran the upgrade and it now works. I also have tightened the security settings more and added SiteLock support to the site.
Post Reply

Return to “CMSMS Core”