# CVE-1999-0146: NCSA HTTPd arbitrary command execution in campas CGI

Source: https://junglewise.ai/threats/cve-1999-0146-ncsa-httpd-arbitrary-command-execution-in-campas-cgi  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 1997-07-15. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-1999-0146 · Severity: high · CVSS 7.5 · Published 1997-07-15

The campas CGI program included with NCSA web servers contains a flaw that allows unauthorized users to run commands on the server. By sending specially crafted web requests, an attacker could read sensitive system files or take control of the web server. This poses a significant risk to the confidentiality of server data and the overall integrity of the hosting environment.

Technologies: [Ncsa HTTPd](https://junglewise.ai/threats/technologies/httpd). Vendors: [Ncsa](https://junglewise.ai/threats/vendors/ncsa).

## Quick answers

**Is CVE-1999-0146 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-1999-0146 being exploited in the wild.

**How severe is CVE-1999-0146?** High severity, with a CVSS score of 7.5, published 15 July 1997.

**Which products and versions are affected?** Ncsa HTTPd campas CGI program.

**Is there a fix for CVE-1999-0146?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-1999-0146 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-1999-0146?** Check whether you run Ncsa Campas, Ncsa HTTPd or Ncsa Servers at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A command injection vulnerability exists in the campas CGI program bundled with NCSA web servers. The issue stems from improper sanitization of input in the query string, specifically failing to handle encoded carriage return characters (%0D). An unauthenticated remote attacker can exploit this by submitting a crafted URL to execute arbitrary system commands with the privileges of the web server process. This has been demonstrated to allow the reading of sensitive files such as the system password file.

## Affected products

- NCSA HTTPd campas CGI program

## Timeline

- 1997-07-15: disclosed: Initial publication date in NVD

## References

- [http://www.securityfocus.com/bid/1975](http://www.securityfocus.com/bid/1975)
- [https://exchange.xforce.ibmcloud.com/vulnerabilities/298](https://exchange.xforce.ibmcloud.com/vulnerabilities/298)

## Related threats

- [NCSA and Apache nph-test-cgi arbitrary file listing](https://junglewise.ai/threats/cve-1999-0045-ncsa-and-apache-nph-test-cgi-arbitrary-file-listing)
