Username: 
Password: 
Restrict session to IP 
Online within 1d
Questions  |  score: 2  |  2,58 4,62 4,65 |  Solved By 3085 People  |  183056 views  |  since Dec 07, 2010 - 23:57:59

Training: Register Globals (Exploit, PHP, Training)

PHP - Register Globals
This challenge is a relict of old PHP times, where register globals has been enabled by default, which often lead to security issues.
Again, your job is to login as admin, and you are given the sourcecode as well as highlighted version.

Here is the link to the vulnerable script.
I have also setup a test account: test:test

Enjoy!

PHP Warning(2): require_once(/home/gizmore/www/geshi/src/geshi.php): Failed to open stream: No such file or directory in core/inc/util/GWF_BBCodeItem.php line 219


Backtrace starts in www/challenge/training/php/globals/index.php line 20. GWF_Message::display()........ core/inc/util/GWF_Message.php line 229. GWF_BBCode::decode().......... core/inc/util/GWF_BBCode.php line 127. GWF_BBCodeItem->render()...... core/inc/util/GWF_BBCodeItem.php line 78. GWF_BBCodeItem->renderChilds() core/inc/util/GWF_BBCodeItem.php line 117. GWF_BBCodeItem->render()...... core/inc/util/GWF_BBCodeItem.php line 74. GWF_BBCodeItem->renderTag()... core/inc/util/GWF_BBCodeItem.php line 101. GWF_BBCodeItem->render_php().. core/inc/util/GWF_BBCodeItem.php line 393. GWF_BBCodeItem->renderCode().. core/inc/util/GWF_BBCodeItem.php line 219. require_once()................ core/inc/util/GWF_BBCodeItem.php line 219. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.