Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2012-10046: Unauthenticated Command Injection in ESVA learn-msg.cgi

Published Aug 8, 2025 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.3Critical · v4
EPSS4.1%91st percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2012-10046CWE-78 · Improper Neutralization of Special…

CVE-2012-10046 is an unauthenticated OS command injection vulnerability in the E-Mail Security Virtual Appliance (ESVA), tested on version ESVA_2057. The flaw is present in the learn-msg.cgi script, where the CGI handler does not properly sanitize or neutralize user-controlled input supplied through the id parameter before passing it to the shell or an OS command context. As a result, a remote attacker can append or inject arbitrary shell commands via a crafted request to the vulnerable CGI endpoint and cause those commands to be executed by the underlying operating system.

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 allows unauthenticated remote code execution on the ESVA appliance. An attacker can execute arbitrary shell commands with the privileges of the vulnerable web/CGI process, which may enable full compromise of the appliance, including modification of system configuration, access to sensitive email or security data handled by the appliance, installation of persistence mechanisms, and use of the host as a pivot point for further activity.

Mitigation

If you can’t patch tonight, do this now.

Restrict network access to the ESVA administrative or CGI interface so the vulnerable endpoint is not reachable from untrusted networks. Place the appliance behind a management VPN, firewall, or IP allowlist, and disable or remove access to the learn-msg.cgi functionality if it is not required. Deploy web application firewall rules or reverse-proxy filtering to block metacharacters and anomalous input in the id parameter as a temporary measure, recognizing that such filtering is not a complete substitute for patching. Monitor web and system logs for suspicious requests to learn-msg.cgi and evidence of command execution.

Remediation

Patch, then assume compromise.

Upgrade to a fixed ESVA release if one is available from the vendor. The vulnerable learn-msg.cgi handler should be corrected to avoid invoking shell commands with unsanitized user input and to strictly validate or allowlist the id parameter. If source or vendor patching is available, remove shell interpretation entirely by using safe APIs that do not invoke a command shell and by enforcing server-side input validation. Review the appliance for signs of compromise if it has been exposed.

FAQ

Frequently asked questions

Is CVE-2012-10046 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2012-10046 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2012-10046?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2012-10046, the earliest disclosed Aug 16, 2012.
Is there a patch for CVE-2012-10046?
Upgrade to a fixed ESVA release if one is available from the vendor. The vulnerable learn-msg.cgi handler should be corrected to avoid invoking shell commands with unsanitized user input and to strictly validate or allowlist the id parameter.
How severe is CVE-2012-10046?
CVE-2012-10046 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 4.1% (91st percentile) as of Oct 16, 2026.
Activity feed

Recent activity

5 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.

View more in app →

No news coverage yet. Advisories and community discussion only.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
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 activity5Community discussion across Reddit, Mastodon, and other social sources.