[原文]PHP remote file inclusion vulnerability in tell_a_friend.inc.php for Tell A Friend Script 2.7 before 20050305 allows remote attackers to execute arbitrary PHP code by modifying the script_root parameter to reference a URL on a remote web server that contains the code. NOTE: it was later reported that 2.4 is also affected.
Tell a Friend tell_a_friend.inc.php script_root Parameter Remote File Inclusion
Remote / Network Access
Loss of Integrity
Tell a Friend contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to tell_a_friend.inc.php not properly sanitizing user input supplied to the 'script_root' 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.
Upgrade to version 2.7 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.