SignKorn Guestbook help/de/adminhelp2.php dir_path Variable Remote File Inclusion

2006-09-13T13:23:17
ID OSVDB:32211
Type osvdb
Reporter ThE__LeO(x17@hotmail.fr)
Modified 2006-09-13T13:23:17

Description

Vulnerability Description

SignKorn Guestbook contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the help/de/adminhelp2.php script not properly sanitizing user input supplied to the 'dir_path' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

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).

Solution Description

Upgrade to version 1.4 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.

Short Description

SignKorn Guestbook contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the help/de/adminhelp2.php script not properly sanitizing user input supplied to the 'dir_path' variable. This may allow an attacker to include a file from a remote host that contains arbitrary commands which will be executed by the vulnerable script.

Manual Testing Notes

http://[target]/[Script]/help/de/adminhelp2.php?dir_path=[attacker]

References:

Vendor URL: http://www.telekorn.com/cms/front_content.php Vendor Specific News/Changelog Entry: http://www.telekorn.com/forum/showthread.php?t=1427 Related OSVDB ID: 32202 Related OSVDB ID: 32215 Related OSVDB ID: 32217 Related OSVDB ID: 32199 Related OSVDB ID: 32201 Related OSVDB ID: 32203 Related OSVDB ID: 32209 Related OSVDB ID: 32213 Related OSVDB ID: 32218 Related OSVDB ID: 32200 Related OSVDB ID: 32206 Related OSVDB ID: 32216 Related OSVDB ID: 32204 Related OSVDB ID: 32205 Related OSVDB ID: 32207 Related OSVDB ID: 32208 Related OSVDB ID: 32210 Related OSVDB ID: 32212 Related OSVDB ID: 32214 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-09/0249.html ISS X-Force ID: 28888 CVE-2006-4889 Bugtraq ID: 19977