Akopia MiniVend Piped Command Execution Vulnerability
BID:1449
Info
Akopia MiniVend Piped Command Execution Vulnerability
| Bugtraq ID: | 1449 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | Yes |
| Published: | Jul 10 2000 12:00AM |
| Updated: | Jul 10 2000 12:00AM |
| Credit: | Discovered by Alexander Lazic as part of the OpenHack.com Hacking Challenge, and discussed in an article written July 10, 2000 for ZDNet News. |
| Vulnerable: |
Akopia MiniVend 4.0.4 Akopia MiniVend 4.0 Akopia MiniVend 3.0 |
| Not Vulnerable: | |
Discussion
Akopia MiniVend Piped Command Execution Vulnerability
MiniVend version 4.04 and earlier come with a sample storefront which contains a vulnerable piece of code. There are two related issues which together allow for execution of commands with the privileges of the web server. First, the file VIEW_PAGE.HTML does not parse input to check for a pipe as part of an input filename. Second, UTIL.PM uses the perl OPEN function in an insecure manner to check for the existence of the file, allowing piped commands to be executed.
MiniVend version 4.04 and earlier come with a sample storefront which contains a vulnerable piece of code. There are two related issues which together allow for execution of commands with the privileges of the web server. First, the file VIEW_PAGE.HTML does not parse input to check for a pipe as part of an input filename. Second, UTIL.PM uses the perl OPEN function in an insecure manner to check for the existence of the file, allowing piped commands to be executed.
Exploit / POC
Akopia MiniVend Piped Command Execution Vulnerability
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected].
Solution / Fix
Akopia MiniVend Piped Command Execution Vulnerability
References
Akopia MiniVend Piped Command Execution Vulnerability
References:
References:
- How a cracker defeated 'Hackopen' (Timothy Dyck)