TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 606
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 478
  • Total: 478

Board hacked on PHP block?

Started by truelight, August 13, 2007, 11:14:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

truelight

I am not sure where to put this...

I have a board that has been up and running for a year--it is the ONLY thing on the domain it is hosted on. 

I have a PHP block which has the following code in it...

include('http://www.heightsfamily.us/community/Themes/Aero79_smf11RC2_TP/menu.html');

Which I found here and used to make a menu.  It has worked fine but today when I logged in there was something wrong with it, lots of links and a picture (thank God not a horrible one) and it appears that when I turn the block off the links and such disappear.  I looked at my files on my site and did not see any that had been changed so I admit I do not understand what has happened here.

There is code when I look at the source of the page that looks like this:

Quote<form name="parking_form" method="get" action="/default.pk" id="parking_form">
<div>

</div>
<!--
====================================
     Major Version: 3.0
         Client_IP: 209.59.186.2
  Webserver_Number: 23
Total_Process_Time: 0125ms
====================================
-->


<table cellspacing="0">
   <tr>
      
      
      
         
      <td>&nbsp;</td>
   </tr>
</table>


<table border="0" cellspacing="0" cellpadding="0" id="container">
  <tr>

   
    <td class="col1">
   
   
   </td>
   


   
   <td class="col2">
   
      
      <table cellspacing="0">
         <tr>
            <td>
               <table cellspacing="0">
                  <tr>
                     
                     
                     <td><div>&nbsp;</div></td>

                              
                     <td>&nbsp;&nbsp;</td>
                  </tr>
               </table>
            </td>
            <td>
               <table cellspacing="0">
                  <tr>
                     
                     
                     
                     
                     <td>&nbsp;</td>
                  </tr>

               </table>
            </td>
         </tr>
      </table>
      
   
   
   

   
   <table border="0" cellspacing="0" cellpadding="0" class="hdr">
        <tr>
            <td class="hdrL">
         
         <div class="header"><h1>Welcome to heightsfamily.us</h1></div>

         
         </td>
            <td class="hdrR">
         
         
                  
         </td>
      </tr>
   </table>
   
   
   
   

   
   
   <table width="100%" border="0" cellspacing="0" cellpadding="0" id="oneColLayout">
      <tr>
         <td class="oneCol">
         
         
         
         
         
         </td>

      </tr>
   </table>
   
   
      
   <table border="0" cellspacing="0" cellpadding="0" id="twoColLayout">
      <tr>
          <td class="twoColL">
         <div class="ldrRelLinks clearfix"><div class="ldrRelLinks_Col1"><ul><li class="first"><a class="first" href="/buy/heights/family/mother/heights.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9SGVpZ2h0cztSPTE7Uz1NIw.."><span>Heights</span></a></li><li><a href="/buy/heights/family/mother/family.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9RmFtaWx5O1I9MjtTPU0j"><span>Family</span></a></li><li><a href="/buy/heights/family/mother/mother_day.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9TW90aGVyIERheTtSPTM7Uz1vIy0jM0w."><span>Mother Day</span></a></li><li><a href="/buy/heights/family/mother/baby_gift.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9QmFieSBHaWZ0O1I9NDtTPW8jLSMzTA.."><span>Baby Gift</span></a></li><li><a href="/buy/heights/family/mother/adoption.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9QWRvcHRpb247Uj01O1M9byMtIzNM"><span>Adoption</span></a></li><li><a href="/buy/heights/family/mother/working_mother.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9V29ya2luZyBNb3RoZXI7Uj02O1M9byMtIzNM"><span>Working Mother</span></a></li><li><a href="/buy/heights/family/mother/maternity_apparel.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9TWF0ZXJuaXR5IEFwcGFyZWw7Uj03O1M9byMtIzNM"><span>Maternity Apparel</span></a></li><li><a href="/buy/heights/family/mother/birth_records.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9QmlydGggUmVjb3JkcztSPTg7Uz1vIy0jM0w."><span>Birth Records</span></a></li><li><a href="/buy/heights/family/mother/baby_store.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9QmFieSBTdG9yZTtSPTk7Uz1vIy0jM0w."><span>Baby Store</span></a></li><li><a href="/buy/heights/family/mother/nursing_bra.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9TnVyc2luZyBCcmE7Uj0xMDtTPW8jLSMzTA.."><span>Nursing Bra</span></a></li><li class="last"><a class="last" href="/buy/heights/family/mother/breast_pump.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0xO0w9QnJlYXN0IFB1bXA7Uj0xMTtTPW8jLSMzTA.."><span>Breast Pump</span></a></li></ul></div></div>

                     
         
         
         
         </td>
          <td class="twoColR">
         <div class="mainImg"><img src="http://i.nuseek.com/images/template/Large-Square/0012_female_student.jpg" border="0" /></div>
                  
         
         
         
         </td>
        </tr>
   </table>
   
   
   
   <table border="0" cellspacing="0" cellpadding="0" id="threeColLayout">
        <tr>
          <td class="threeColL">

         
         
         
         
         
         </td>
          <td class="threeColM">
         
         
         
         
         
         </td>
          <td class="threeColR">
         
         
         
         
         
         </td>
        </tr>
   </table>
   
   
   
   <div class="searchBox"><table><tr><td><input type="text" name="tsearch" id="tsearch" class="SearchBoxText" tabindex="1" /></td><td><input type="image" src="http://i.nuseek.com/images/misc/blank.gif" id="search_button" name="search_button" class="sb_btn" tabindex="2" /></td></tr></table></div><div class="clear"></div>
   <div class="searchLinkGroup clearfix"><div class="searchLinkGroup_Col1"><ul><li class="first"><a class="first" href="/get/heights/family/mother/parenting.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0yO0w9UGFyZW50aW5nO1I9MTtTPWQjLSMyUw.."><span>Parenting</span></a></li><li><a href="/get/heights/family/mother/family_activities.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0yO0w9RmFtaWx5IEFjdGl2aXRpZXM7Uj03O1M9ZCMtIzJT"><span>Family Activities</span></a></li><li><a href="/get/heights/family/mother/adoption.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0yO0w9QWRvcHRpb247Uj0xMztTPWQjLSMyUw.."><span>Adoption</span></a></li><li><a href="/get/heights/family/mother/aging_parents.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0yO0w9QWdpbmcgUGFyZW50cztSPTE5O1M9ZCMtIzJT"><span>Aging Parents</span></a></li><li><a href="/get/heights/family/mother/education.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0yO0w9RWR1Y2F0aW9uO1I9MjU7Uz1kIy0jMlM."><span>Education</span></a></li><li class="last"><a class="last" href="/get/heights/family/mother/photography_and_video_services.htm?t=qs%3d06oENya4ZG5X75nKKL042mlY4u9PTxC3mH2HNhLeD4KTDMwJPeSt4SdcF8WzIp01cQ5Hj8R2Yxqy9iROXeMPJZqn0q3ZAxWdj52v16x6heafDDy-9Ut9M--I2pjY1tEJMm1V6B1PgMsw..%2cYT0yO0w9UGhvdG9ncmFwaHkgYW5kIFZpZGVvIFNlcnZpY2VzO1I9MzE7Uz1kIy0jMlM."><span>Photography and Video Services</span></a></li></ul></div></div>

   
   
      
   
   <div class="ftr">
      <div class="userCustom"></div>
      
      
   </div>
   
   
      
      <table cellspacing="0">
         <tr>            
            
            
            
            
            <td>&nbsp;&nbsp;</td>
         </tr>
      </table>
      
   
   </td>


   
    <td class="col3">
   
   
   </td>
   

  </tr>
</table>

   
   <table cellspacing="0">
      <tr>
         
         
         
         
         <td>&nbsp;&nbsp;</td>
      </tr>

   </table>
   
   
</form>



<script language='javascript' type='Text/Javascript'>
function GetIPPI(g) {
    var xmlHttp = createXMLHttpRequest();
    if (xmlHttp != null) {
        xmlHttp.open('GET', '/'+g+'.ippi?g='+g, true);
        xmlHttp.send(null);
    }
}

function createXMLHttpRequest() {
  try { return new ActiveXObject('Msxml2.XMLHTTP'); } catch(e) {}
  try { return new ActiveXObject('Microsoft.XMLHTTP'); } catch(e) {}
  try { return new XMLHttpRequest(); } catch(e) {}
  return null;
}

GetIPPI('03b60797-e5eb-40f8-97d1-69c1829d09a9');
</script>


Can anyone help me figure this out and what I need to do? Like I said the info does not show up if I shut down that one PHP block...

Thanks in advance!
God bless!
Susie

truelight

#1
I wanted to mention too that this is a Christian homeschool site and there is sensitive information on there...no one can see anything unless they are a member...

I dunno if that helps or not!

God bless!
Susie

Oh the line of code above that up there is:

Quote<body id="wf01" class="pg1">

Zetan

I don't understand either.. Do you have a screen shot you could post.. or a link to your site with the offending block enabled?
Any other strange problems occured?

Who else has access to edit blocks, and/or server? Other Admin for example, who may have by accident made some errors?

This seems a little odd to me.

truelight

Zetan I can create an account for you to test it on, but I don't want to have it up where others can see it on the board for long...I can create you an account and give you admin privledges and then you can turn on that block and see what I am talking about?

Would that work?


Zetan

I can have a look.. If you can turn the block on for me, and make it Admin only view.. then nobody else can see it.
I'm not sure what this will prove however.
There are check boxes for who can view blocks.. turn them all off.

You are welcome to PM me the account details. I will mention that it's getting late here, but I'll take a look  :)

truelight

Hmm...weird...I had found the only spot anything at all had changed via the dates on my files through FTP were in the attachment folder--when I deleted the two newest attachments the problem disappeared??

I have a "copy" of the two files in my FTP program's temp folder...would they be helpful in figuring out what happened?

Thanks in advance!
God bless!
Susie

truelight

Also there was only one new member who had joined and when people join they are not allowed to do anything except post in one spot...this person had not made a post, and the permissions are set to where they can't do any uploads or anything of that nature...no attachments, no avatar upload, etc...

I'm confused lol

?? anyone got anything?  I could probably upload the two files to the site again and see if I can replicate it so someone can look at it??

Susie

truelight

However, the date of the new registration was yesterday the 12th and the file date for upload was the 6th so it couldn't be that could it?

What a strange mystery.

Zetan

They could be helpful.. Depends what the attachments were.

Please post them. I do have to go to bed soon truelight as I have work in the morning. Some of the other members here may be able to shed some light on it.

If the attachments were malicious, I can only assume at this time that they either conflicted somehow with the menu or are innocent..
I can't say for sure right now..

Quote from: truelight on August 14, 2007, 12:00:22 AM
Also there was only one new member who had joined and when people join they are not allowed to do anything except post in one spot...this person had not made a post, and the permissions are set to where they can't do any uploads or anything of that nature...no attachments, no avatar upload, etc...

I'm confused lol

?? anyone got anything?  I could probably upload the two files to the site again and see if I can replicate it so someone can look at it??

Susie

I too use this kind of setup.. new members are only allowed to make their first post in the Welcome area of my forum.

Zetan

I would prefer if you just posted the content in a Code tag at this time.. as we don't know for sure what it is.. Maybe an attatchment is not such a good idea.. though, I can't see why this would happen.. maybe just a freaky ghost in the machine.

This website is proudly hosted on Crocweb Cloud Website Hosting.