GoAhead Web Server Directory Traversal and Command execution vulnerabilities
3 Feb. 2001
Summary
The GoAhead WebServer is an open standard web server compliant with all necessary standards to be an effective embedded Web server. The product suffers from a very serious vulnerability that allows a malicious attacker to download content off the web server residing outside the normal web root scope. In addition, it is possible to execute arbitrary commands on the server.
Credit:
The information has been provided by Sergey Nenashev.
/*
* We allocate enough to store separate hostname and port number fields.
* As there are 3 strings in the one buffer, we need room for 3 null chars.
* We allocate MAX_PORT_LEN char_t's for the port number.
*/