Title: Count.cgi (wwwcount) Buffer Overflow Vulnerability
Severity: HIGH
Description:
Wwwcount (count.cgi) is a very popular CGI program used to track website usage. In particular, it enumerates the number of hits on given webpages and increments them on a 'counter'. In October of 1997 two remotely exploitable problems were discovered with this program. The first problem was somewhat innocuous in that it only allowed remote users to view .GIF files they were not supposed to have access to. This may be dangerous if the site contains sensitive data in .GIF files such as demographic/financial data in charts etc.
The second and most serious problem is a buffer overflow in QUERY_STRING enviroment variable handled by the program. In essence a remote user can send an overloy long query to the program and overflow a buffer in order to execute their own commands as whatever privelage level the program is running as.
Affected Products:
- Muhammad A. Muquit wwwcount 2.3.0
References:
- Lincoln D. Stein <lstein@cshl.org>: The World Wide Web Security FAQ
- Muhammad A. Muquit: Wwwcount distribution site
- NCSA HTTPd Development Team: NSCA's "Security Concerns on the Web" Page
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.