UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 13-03-2007, 18:00
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 330
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default Nr57

Hi - I have a problem with php that has me very puzzled. One of my customers rang to say that the website kept bombing out whenever she tried to update a particular record. After a lot of hair pulling i eventually tracked the problem down to one thing NR57 Now what is it about those 4 characters that php doesn't like???
I've created a simple form at www. serinasecure.com/testint.php all it does is display whatever you type in. Give it a go - all works fine until you type in NR57 when you get sent to the index.htm page - ????
Anyone got ant ideas why ????
David
Reply With Quote
  #2 (permalink)  
Old 13-03-2007, 23:47
Junior Member
 
Join Date: Mar 2007
Posts: 5
Default

That's a strange one! I thought it was a wind up at first but I tried it out and strangely enough it does a 302 redirect whenever the input contains "r57", whether it be nr57, fsdfdsr57, r57a

It doesn't do it on my local server or on my other web host so it must be something specifically on eukhost
Reply With Quote
  #3 (permalink)  
Old 13-03-2007, 23:53
Junior Member
 
Join Date: Mar 2007
Posts: 5
Default

I wonder if it's anything to do with this:
www. sarc.com/avcenter/venc/data/php.rstbackdoor.html
Look up r57.php or r57shell.php on Google and you'll notice a whole load of stuff about security exploits, maybe the server is blocking anything incoming with r57 in it as a security precaution
Reply With Quote
  #4 (permalink)  
Old 14-03-2007, 08:39
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 330
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

Yes, I was wondering that as well. I tried the same test page on my windows hosting and that allows r57 quite happily. So I guess it's either an Apache security thing or a feature of php4 (the windows hosting has php5). ???????
Reply With Quote
  #5 (permalink)  
Old 14-03-2007, 09:22
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,256
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

Initially I didn't reply to this thread as I thought David's account was on windows server and we never had any such security setting on windows server to block file names with specific characters.

We have high security on for apache and php on our linux servers and we have disabled almost all insecure php functions in php.ini and commonly used vulnerability scripts are disabled through mod_security. If you see forums of other hosting companies then you will notice that websites of their customers get injected every day but that rarely occurs on our servers. We had injection problem on 2 servers before 5 months but our CTO taken steps to disallow similar thing to happen again in future.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #6 (permalink)  
Old 14-03-2007, 09:32
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 330
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

Thanks Mark - I have reseller hosting with you on both Windows and Linux, and the Linux server I'm on was one of those that got injected around xmas, so I know of the problems. However this isn't a file name - it's just an input field in a form. Why does the security need to block that??
David
Reply With Quote
  #7 (permalink)  
Old 14-03-2007, 09:44
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,256
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

I'll ask him to look into this.

As per my knowledge shell_exec and uname functions are disabled in php.ini so there is no need to block r57 in character rules, but he is expert with security of servers so he has to to make a decision on what should be allowed and what should be blocked.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #8 (permalink)  
Old 15-03-2007, 21:13
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 330
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

Did you get any answer from him on this??
Reply With Quote
  #9 (permalink)  
Old 15-03-2007, 22:29
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,256
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

Not yet. He got married on Sunday and he had sanctioned leave till Wednesday but he needs 2 days more to return.

I can ask other System Admins to look into it if thats a priority. Others are also good with System Security so let me know if you need a solution immediately.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #10 (permalink)  
Old 16-03-2007, 08:08
DavidAllen's Avatar
Premium Member
 
Join Date: Jan 2007
Location: Amersham
Posts: 330
Send a message via MSN to DavidAllen Send a message via Skype™ to DavidAllen
Default

No it's ok - I managed to alter the data on my customers system and changed all occurences of r57 so for now the problem has 'gone away'. A proper solution when he gets back would be fine.
David
Ps Congratulations to him
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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


All times are GMT. The time now is 00:28.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories