News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
Gareth Heyes' Blog:
Exploiting PHP SELF
January 14, 2008 @ 07:54:00

Gareth Heyes has a new post today talking about one of the vulnerable values in the $_SERVER superglobal - PHP_SELF.

I thought it might be a good idea to gather a few test cases demonstrating the problem. Why PHP allows these URL's is beyond me and it wouldn't take much work to filter out these malicious URL's in the PHP code.

He provides four test cases to show how simple it is to abuse - one using a HTTP header, another pushing XSS through, the third mentions search pages and the fourth a direct code injection.

You can download the code here.

0 comments voice your opinion now!
exploit phpself superglobal inject code testcase security exploit phpself superglobal inject code testcase security



Similar Posts

Codewalkers.com: The PAVISE of Security

Gareth Heyes' Blog: Exploiting PHP SELF

PHPEverywhere: Is PHP4 the new perl?

Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate

PHP-GTK Community Site: Code completion for PHP-GTK in Eclipse PDT


Community Events







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


release releases framework zend package book ajax security developer database conference job zendframework example PHP5 cakephp code application PEAR mysql

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