Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Safe PHP a Contradiction in Terms


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Security & Virus Discussion

Safe PHP a Contradiction in Terms
Reply
 
Thread Tools
Old 18-05-2005, 22:22   #1
Ghost Process Killer
 
MetaWraith's Avatar
 
Join Date: Oct 2003
Location: 2nd CPU to the right & past the cache
Posts: 1,864
MetaWraith has a bronzed appealMetaWraith has a bronzed appeal
MetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appeal
Send a message via ICQ to MetaWraith Send a message via AIM to MetaWraith Send a message via MSN to MetaWraith Send a message via Yahoo to MetaWraith
Safe PHP a Contradiction in Terms

Whilst browsing I came across this recent article.
I wonder what the PHP users of this forum think ?

Safe PHP a Contradiction in Terms ?
http://www.viruslist.com/en/weblog?d...40463&return=1
__________________
Yesterday it worked. Today it is not working. VM is like that.
Three things are certain: Death, taxes and lost data. Guess which has occurred ?

Last edited by MetaWraith; 18-05-2005 at 22:24.
MetaWraith is offline   Reply With Quote
Old 18-05-2005, 22:38   #2
Busy Admin
 
Paul M's Avatar
 
Join Date: Oct 2003
Location: Nottingham
Age: 45
Services: VM Phone : Sky+ Multiroom : VM Cable (20 Mbps)
Posts: 14,486
Paul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny star
Paul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny starPaul M has a nice shiny star
Send a message via ICQ to Paul M
Re: Safe PHP a Contradiction in Terms

So, the programmer who wrote the script made it include any file in the supplied parameter (local or remote) and hence execute it - basically allowing anyone to run anything on the server - anyone who does such a stupid thing should never be allowed near code near again.
__________________
DigiGuide Click here for a real, interactive, tv guide.
Paul M is offline   Reply With Quote
Old 18-05-2005, 23:02   #3
 
Graham M's Avatar
 
Join Date: Jul 2003
Location: Poole, Dorset
Age: 23
Services: Sky+ V-Box VM 10MBit
Posts: 9,811
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Graham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny starGraham M has a nice shiny star
Send a message via MSN to Graham M Send a message via Yahoo to Graham M
Re: Safe PHP a Contradiction in Terms

What an idiot... Almost as bad as

PHP Code:
<?php
system
($_GET["command"]);
?>
or something along those lines
__________________
Used to be Zeph - I'm still me though
Peter: Oh my god, Brian, there's a message in my Alphabits. It says, 'Oooooo.'
Brian: Peter, those are Cheerios.
www.elitehealthdistribution.co.uk - www.loonyasylum.net
Graham M is online now   Reply With Quote
Old 18-05-2005, 23:37   #4
cf.mega poster
 
Join Date: Jun 2003
Age: 29
Posts: 6,273
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: Safe PHP a Contradiction in Terms

What a load of BS.
ASP is more dangerous IMO (and in my experience) because "it just works" - just like those wireless routers that you can buy in the shops with the least secure settings already preset.

A proper programmer would know how to secure it.

That article is totally redundant.
Richard M is offline   Reply With Quote
Old 18-05-2005, 23:42   #5
Cable Forum Team
 
Stuart C's Avatar
 
Join Date: Jun 2003
Location: It's Lahndun, Innit?
Age: 37
Services: Virgin for TV, BT for phone and Be* for Broadband.
Posts: 17,477
Stuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny stars
Stuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny starsStuart C has a pair of shiny stars
Send a message via MSN to Stuart C Send a message via Yahoo to Stuart C Send a message via Skype™ to Stuart C
Re: Safe PHP a Contradiction in Terms

Just goes to show that ANY language can be dangerous..
__________________
Just to make it clear if a post is bold and is from a team member, it's a moderating decision. If it's not bold or not from a team member, it's not.

"This is an important announcement. This is flight 121 to Los Angeles. If your travel plans today do not include Los Angeles, now would be a perfect time to disembark.”
Stuart C is offline   Reply With Quote
Old 18-05-2005, 23:59   #6
Ghost Process Killer
 
MetaWraith's Avatar
 
Join Date: Oct 2003
Location: 2nd CPU to the right & past the cache
Posts: 1,864
MetaWraith has a bronzed appealMetaWraith has a bronzed appeal
MetaWraith has a bronzed appealMetaWraith has a bronzed appealMetaWraith has a bronzed appeal
Send a message via ICQ to MetaWraith Send a message via AIM to MetaWraith Send a message via MSN to MetaWraith Send a message via Yahoo to MetaWraith
Re: Safe PHP a Contradiction in Terms

I guess you lot pass the test then.

The comments above are more or less what I expected,and mirror my own point of view that it was careless/negligent programming that resulted in the hack.
__________________
Yesterday it worked. Today it is not working. VM is like that.
Three things are certain: Death, taxes and lost data. Guess which has occurred ?
MetaWraith is offline   Reply With Quote
Old 19-05-2005, 08:28   #7
cf.mega poster
 
Millay's Avatar
 
Join Date: Oct 2003
Location: Portsmouth
Age: 30
Posts: 1,684
Millay has reached the bronze age
Millay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze ageMillay has reached the bronze age
Send a message via MSN to Millay Send a message via Yahoo to Millay
Re: Safe PHP a Contradiction in Terms

Any language is as dangereous it just depends on who codes it. ASP can be secure php can be secure if the coder does not know how to do this then its poor programming... IMHO
Millay is offline   Reply With Quote
Old 19-05-2005, 08:48   #8
I am not a geek!
 
philip.j.fry's Avatar
 
Join Date: Jul 2003
Posts: 1,395
philip.j.fry has reached the bronze age
philip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze agephilip.j.fry has reached the bronze age
Re: Safe PHP a Contradiction in Terms

Quote:
Originally Posted by Zeph
What an idiot... Almost as bad as

PHP Code:
<?php
system
($_GET["command"]);
?>
or something along those lines
That's not bad per se because it can be an easy way for remote admin of a machine, it's just if you do use it you need to be sure of securing it.
philip.j.fry is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 12:53.


Links
Google
 
Web www.cableforum.co.uk


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright © 2003 - 2008, Cable Forum.
(s204569790.onlinehome.info)