LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-28-2009, 10:45 AM   #1
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Rep: Reputation: 32
Apache and file corruption issues


I am not sure what is causing this, so let me explain.

CentOS 5.3 i686
cPanel 11.24.5-R37629
WHM 11.24.2 - X 3.9
Apache 2.2.11
Php version 5.2.9

Now the problem lies with two files getting "corrupted" consistently. I am running a Phpbb forum version 2.0.22. The two files that are getting corrupted are the index.php file and the /admin/index.php file. It's almost as if the last section of these two files are just being deleted. If I upload backup copies of these files, the site works just fine. Usually over a period of a few days, the same thing occurs.

I've looked through the access log, but it's so large I can't seem to find anything. What should I be looking for exactly? Anyone have any idea what might be causing this?

I believe the permissions on those two files are set at: 644
 
Old 07-28-2009, 05:01 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Skillz View Post
Phpbb forum version 2.0.22
Unfortunately you chose to run a vulnerable version. Any "workarounds" or "temporary fixes" will only treat symptoms. Please address the cause before doing anything else.

Last edited by unSpawn; 07-28-2009 at 05:05 PM. Reason: ///better
 
Old 07-28-2009, 11:47 PM   #3
Skillz
Member
 
Registered: Sep 2007
Posts: 252

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by unSpawn View Post
Unfortunately you chose to run a vulnerable version. Any "workarounds" or "temporary fixes" will only treat symptoms. Please address the cause before doing anything else.
I just realized that I was running an older version when I went to check which version it was, it told me it was out dated. Though I have to ask, is the vulnerabilities in phpbb 2.0.22 causing these issues? Is it foul play? Something wrong with the setup? Just patching/updating an issue isn't really solving anything either, I'd much rather know exactly what is causing it.
 
Old 07-29-2009, 03:59 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Skillz View Post
I just realized that I was running an older version when I went to check which version it was, it told me it was out dated.
Current stable is 3.0.5 (2009/May/31). If you "just checked" then you'd also like to know that security maintenance of phpbb2 code ceased on 2009/Feb/1. If you understand the problem of running stale, deprecated and vulnerable software then you know you have to address that before doing anything else and instead of trying to come up with counterarguments.

Last edited by unSpawn; 07-29-2009 at 04:00 AM. Reason: //clarity++
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
File corruption in kernels 2.6.18 thru 2.6.22.2 NeilR Linux - General 14 08-31-2007 06:07 AM
file corruption!! vishamr2000 Linux - General 5 05-12-2006 01:45 AM
FTP File Corruption Firejack Linux - Networking 1 01-02-2005 02:39 PM
File Corruption in Red Hat 7.3 File Server dmurph2k2 Red Hat 3 10-09-2003 02:30 PM
File Corruption on Red Hat 7.3 File Server dmurph2k2 Linux - General 2 10-09-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration