Skip to main content
Mallory
CriticalVulnerability

CVE-1999-0067: PHF CGI OS Command Injection

Published Sep 29, 1999 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v2
EPSS86.9%100th percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendors
Apache Software FoundationNational Cyber Security Agency
IdentifiersCVE-1999-0067CWE-78 · Improper Neutralization of Special…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
Apache Software FoundationApache HTTP Serverapplication
National Cyber Security AgencyNcsa Httpdapplication
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.