CVE-1999-0067: PHF CGI OS Command Injection
- Vendors
- Apache Software FoundationNational Cyber Security Agency
CVE-1999-0067 is an OS command injection vulnerability in the PHF CGI example program. User-controlled input reaches a shell-mediated phonebook lookup command without adequate neutralization of command separators. Filtering intended to escape shell metacharacters failed to handle newline characters, which the shell accepts as command separators; pipe metacharacters have also been identified as injectable command syntax. An unauthenticated remote requester can append commands to the program's intended command line.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary program execution on the web server under the operating system identity and privileges of the web-server process. This can enable access to or modification of resources available to that account, deployment of additional tooling, and service disruption.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the affected CGI endpoint until it is removed or corrected. Apply strict allowlist validation for expected lookup input, use APIs or direct library calls instead of shell command construction, pass arguments through structured process-execution interfaces, and run the web server with a dedicated least-privileged account.
Remediation
Patch, then assume compromise.
Remove or disable the PHF CGI example program. Where retention is unavoidable, deploy the vendor-fixed implementation that correctly handles newline characters and redesign command execution to avoid invoking a shell with requester-controlled data.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-1999-0067 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-1999-0067?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-1999-0067.
- Is there a patch for CVE-1999-0067?
- Remove or disable the PHF CGI example program. Where retention is unavoidable, deploy the vendor-fixed implementation that correctly handles newline characters and redesign command execution to avoid invoking a shell with requester-controlled data.
- What products are affected by CVE-1999-0067?
- Apache Software Foundation Apache HTTP Server and National Cyber Security Agency Ncsa Httpd.
- How severe is CVE-1999-0067?
- CVE-1999-0067 has a CVSS v2 score of 10.0 (Critical) and an EPSS score of 86.9% (100th percentile) as of Oct 16, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.