vendor:
HTTPd
by:
SecurityFocus
7.5
CVSS
HIGH
Command Injection
78
CWE
Product Name: HTTPd
Affected Version From: 1.2
Affected Version To: Unknown
Patch Exists: NO
Related CWE: N/A
CPE: a:ncsa:httpd
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: Unknown
2002
Campas CGI Script Vulnerability
Campas is a sample CGI script shipped with some older versions of NCSA HTTPd, an obsolete web server package. The script fails to properly filter user supplied variables, and as a result can be used to execute commands on the host with the privileges of the web server. Commands can be passed as a variable to the script, separated by %0a (linefeed) characters. Successful exploitation of this vulnerability could be used to deface the web site, read any files the server process has access to, get directory listings, and execute anything else the web server has access to.
Mitigation:
Ensure that user input is properly sanitized and filtered before being used in any system calls.