#1 (permalink)  
Old 06-27-2009, 03:35 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
HTHP is on a distinguished road
Unhappy Reinstall x3 theme

Hi,
My friend's server was defaced by a script kiddie and he removed all index.* pages from the server and made here own index.html page.
Now there's no backup at all! I removed all skiddie pages but users can't log into the cpanel because the original index.html in /usr/local/cpanel/base/frontend/x3/index.html is removed.
I forced reinstallation with # /scripts/upcp --force and still we can't access to cpanel (btw there's no pb with log into WHM).
Any idea how to reinstall completely cpanel or just reinstall the x3 theme??
Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-27-2009, 09:05 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,901
Infopro is on a distinguished road
Lightbulb

Forcing a cPanel update should have fixed any theme problems if you are indeed running the default cPanel X3 theme. You should consult with a security professional, ASAP.

If they defaced an accounts index.html that's one thing, if they got into the server itself and defaced a cPanel theme file (makes no sense really as if they can do that they should be able to do most anything else server wide. Why bother with a theme file no one can see but the user?)

Was the account a reseller? If yes they might have set a customized/branded theme logged in as the reseller.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-28-2009, 07:05 AM
Registered User
 
Join Date: Jun 2009
Posts: 3
HTHP is on a distinguished road
I know how they got into the server... they got a root so they replace every index.* file into / by there index file.
Now I removed all backdoors and shells, and I fixed all vulnerability in the server and in the php scripts.
I have the account owner (root) and I need to copy every old index.* file in /usr/local/cpanel/base/frontend/ to fix the x3 theme.
It will be great if someone compress index files in this directory and upload it somewhere so I can download it and replace the skiddie index files to fix the theme.
Peace.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-28-2009, 01:35 PM
Infopro's Avatar
Forum Moderator
 
Join Date: May 2003
Location: Pennsylvania
Posts: 3,901
Infopro is on a distinguished road
Lightbulb

That's not how it's done though. To repair your cPanel X3 theme you run an update as suggested which refreshes all files on the cPanel side of things. If that's not working for you after doing it, and you're sure your browser cache has been cleaned out first to check it, then you might contact cPanel to take a look. Doing a forced update should fix it.

They got root access to your server and only changed index files? I wouldn't trust it, personally.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-28-2009, 04:41 PM
Registered User
 
Join Date: Jun 2009
Posts: 3
HTHP is on a distinguished road
They only defaced some index pages and installed a rootkit that's why I called them script kiddies..
I contacted the cpanel support and now it's work after forcing reinstall. It doesn't work for me beause in /etc/cpupdate.conf the CPANEL= line was set to never, that line must be manual-release..
After doing this, a forced update fix it.
Thanks Infopro for your time.
Peace
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL connections fail using x3 theme, works with x theme - why?? suhail cPanel and WHM Discussions 5 02-17-2008 05:47 PM
Trouble switching from x Theme to x2 Theme charliep cPanel Newbies 2 11-25-2006 03:11 AM
Help me. Reinstall exit cPanel and WHM Discussions 1 10-31-2005 04:45 AM
Reinstall BoxTrapper? How can I do this? jols cPanel and WHM Discussions 14 08-29-2005 05:01 PM
Squirrelmail theme + NeoMail Theme it_ideas Themes and Branding 4 05-03-2003 04:37 PM


All times are GMT -5. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc