← Vulnerability feed

Vulnerability record · CVE-1999-0067 · published 20 March 1996

CVE-1999-0067: phf CGI program allows remote command execution via shell metacharacters

Apache · Http Server

The phf CGI program, shipped with NCSA HTTPd and Apache HTTP Server, fails to sanitize shell metacharacters in user input, allowing OS command injection. Because the CGI is reachable over the network without authentication, an attacker can execute arbitrary commands on the web server. This is a classic, well-documented remote code execution flaw in a legacy component.

10.0 CVSS 2.0 High EPSS 87% · top 0.3% CWE-78 · OS command injection
10.0CVSS 2.0 base score
87%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
6References
16 Jun 2026Last modified by NVD

Description

phf CGI program allows remote command execution through shell metacharacters.

AV:N/AC:L/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityCVSS 2.0 score of 10 with network reachability, no authentication, and complete impact, combined with a very high EPSS probability, makes this a critical risk for any system still running the vulnerable component.

What it is

The phf CGI program, shipped with NCSA HTTPd and Apache HTTP Server, fails to sanitize shell metacharacters in user input, allowing OS command injection. Because the CGI is reachable over the network without authentication, an attacker can execute arbitrary commands on the web server. This is a classic, well-documented remote code execution flaw in a legacy component.

Impact

An attacker gains remote command execution with the privileges of the web server process, leading to full compromise of confidentiality, integrity, and availability. This can result in data theft, defacement, or use of the host as a pivot point.

Attack surface

Reachable remotely over HTTP by requesting the phf CGI script; no authentication or user interaction is required per the CVSS vector AV:N/AC:L/Au:N. The flaw is triggered by supplying shell metacharacters in request parameters.

Exploitation

The record does not list this CVE in CISA KEV and provides no exploit tags, but EPSS indicates a high probability of exploitation activity (0.86871, 99.7th percentile). No ransomware group associations are documented.

What to do

  • Patch or upgrade to a version of Apache HTTP Server or NCSA HTTPd that removes or fixes the phf CGI program.
  • If patching is not possible, remove or disable the phf CGI script and any related sample CGI programs.
  • Restrict access to CGI directories using web server configuration or network controls.
  • Run the web server with least privilege to limit the impact of command execution.
  • Monitor for and block requests containing shell metacharacters targeting CGI paths.

Detection

  • Inspect web server access logs for requests to /cgi-bin/phf or similar paths containing shell metacharacters (e.g., ;, |, `, $()).
  • Monitor process creation on web servers for unexpected child processes spawned by the web server user.
  • Use file integrity monitoring to detect changes to CGI scripts or web server binaries.
  • Deploy network signatures to alert on command injection patterns in HTTP requests.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://www.cert.org/advisories/CA-1996-06.html Third Party AdvisoryUS Government Resource
http://www.osvdb.org/136 Broken Link
http://www.securityfocus.com/bid/629 Broken LinkThird Party AdvisoryVDB Entry
http://www.cert.org/advisories/CA-1996-06.html Third Party AdvisoryUS Government Resource
http://www.osvdb.org/136 Broken Link
http://www.securityfocus.com/bid/629 Broken LinkThird Party AdvisoryVDB Entry

Track CVE-1999-0067 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-1999-1293Apache http server vulnerabilitymod_proxy in Apache 1.2.5 and earlier allows remote attackers to cause a denial of service via malformed FTP commands, which causes Apache to dump co…EPSS 4.0%10.0CVE-1999-0926Apache http server vulnerabilityApache allows remote attackers to conduct a denial of service via a large number of MIME headers.EPSS 9.4%10.0CVE-1999-1237Apache http server classic buffer overflow vulnerabilityMultiple buffer overflows in smbvalid/smbval SMB authentication library, as used in Apache::AuthenSmb and possibly other modules, allows remote attac…EPSS 8.1%10.0CVE-1999-1199Apache http server vulnerabilityApache WWW server 1.3.1 and earlier allows remote attackers to cause a denial of service (resource exhaustion) via a large number of MIME headers wit…EPSS 7.6%9.8CVE-2001-0766Apache http server vulnerabilityApache on MacOS X Client 10.0.3 with the HFS+ file system allows remote attackers to bypass access restrictions via a URL that contains some characte…EPSS 8.2%7.8CVE-2002-2272Apache http server memory buffer overflow vulnerabilityTomcat 4.0 through 4.1.12, using mod_jk 1.2.1 module on Apache 1.3 through 1.3.27, allows remote attackers to cause a denial of service (desynchroniz…EPSS 9.7%7.5CVE-2003-0016Apache http server vulnerabilityApache before 2.0.44, when running on unpatched Windows 9x and Me operating systems, allows remote attackers to cause a denial of service or execute …EPSS 18%7.5CVE-2002-1850Apache http server vulnerabilitymod_cgi in Apache 2.0.39 and 2.0.40 allows local users and possibly remote attackers to cause a denial of service (hang and memory consumption) by ca…EPSS 17%

Source: NIST National Vulnerability Database (record CVE-1999-0067), CISA KEV, FIRST EPSS (scores of 2026-11-24). This page is refreshed as NVD updates the record.