← 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.

9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.1CVE-2024-38475Apache HTTP Server mod_rewrite improper escaping enables code executionApache HTTP Server 2.4.59 and earlier has an improper output escaping flaw in mod_rewrite. Substitutions in server context that use a backreference o…KEVEPSS 100%analysed9.0CVE-2021-40438Apache HTTP Server mod_proxy SSRF via crafted URI pathA crafted request URI path can make mod_proxy forward the request to an origin server chosen by the remote user, an SSRF flaw in Apache HTTP Server 2…KEVEPSS 100%analysed7.8CVE-2019-0211Apache HTTP Server scoreboard use-after-free local privilege escalationApache HTTP Server 2.4.17 through 2.4.38 with MPM event, worker or prefork contains a use-after-free in scoreboard handling. Code running in a less-p…KEVEPSS 65%analysed10.0CVE-2010-0425Apache mod_isapi on Windows remote code execution via orphaned callbacksmod_isapi in Apache HTTP Server on Windows does not ensure request processing is complete before calling isapi_unload for an ISAPI .dll module, leavi…EPSS 94%analysed10.0CVE-2005-2700Apache http server vulnerabilityssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enfor…EPSS 31%10.0CVE-2004-0492Apache http server vulnerabilityHeap-based buffer overflow in proxy_util.c for mod_proxy in Apache 1.3.25 to 1.3.31 allows remote attackers to cause a denial of service (process cra…EPSS 34%

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