News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHP Discovery Blog:
Dangers of Remote Execution
November 21, 2007 @ 13:48:00

On the PHP Discovery blog, there's a new post reminding PHP developers of some of the more dangerous ways that remote execution could effect your site and some of the common entry points it can have.

PHP has numerous ways to execute raw PHP code unless you the programmer stops it. Best way in preventing these methods is making sure you check the input of what your users are inputting, and making sure you escape all malicious actions that a hacker,cracker, kiddy scripter might want to do to your website.

He summarizes four of the things from the Pro PHP Security book from Apress (by Chris Snyder and Michael Southwell) that can leave holes in you application for would-be explots - preg_replace, shell_exec/exec, eval (which we all know is only one letter from "evil" anyway) and require/include.

0 comments voice your opinion now!
danger remote execution pregreplace include eval shellexec exec require danger remote execution pregreplace include eval shellexec exec require


blog comments powered by Disqus

Similar Posts

PHP Discovery Blog: Dangers of Remote Execution

ThinkPHP Blog: Handling large files with(out) PHP

PHP Discovery Blog: Dangers of Remote Execution

Gonzalo Ayuso: Playing with event dispatcher and Silex. Sending logs to a remote server.

LWN.net: Remote file inclusion vulnerabilities


Community Events











Don't see your event here?
Let us know!


database facebook composer hack symfony2 install support release performance component opinion podcast package hhvm security unittest framework introduction language application

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework