Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Security & Virus Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=38)
-   -   Safe PHP a Contradiction in Terms (https://www.cableforum.uk/board/showthread.php?t=28871)

MetaWraith 18-05-2005 22:22

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

Paul 18-05-2005 22:38

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 :eek: - anyone who does such a stupid thing should never be allowed near code near again. :dozey:

Graham M 18-05-2005 23:02

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

Richard M 18-05-2005 23:37

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.

Stuart 18-05-2005 23:42

Re: Safe PHP a Contradiction in Terms
 
Just goes to show that ANY language can be dangerous..

MetaWraith 18-05-2005 23:59

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.

Millay 19-05-2005 08:28

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

philip.j.fry 19-05-2005 08:48

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.


All times are GMT. The time now is 17:35.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum