CVE-2012-10046 E-Mail Security Virtual Appliance learn-msg.cgi Command Injection

Critical 9.3 Published Updated

Unauthenticated attackers can execute arbitrary shell commands via the learn-msg.cgi script in E-Mail Security Virtual Appliance.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-10046?

CVE-2012-10046 is a critical command injection vulnerability in ESVA-Project E-Mail Security Virtual Appliance, published on 8 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The E-Mail Security Virtual Appliance (ESVA) (tested on version ESVA_2057) contains an unauthenticated command injection vulnerability in the learn-msg.cgi script. The CGI handler fails to sanitize user-supplied input passed via the id parameter, allowing attackers to inject arbitrary shell commands. Exploitation requires no authentication and results in full command execution on the underlying system.

Weakness: CWE-78

Which versions are affected by CVE-2012-10046?

How do I fix CVE-2012-10046?

No fix has been published for CVE-2012-10046 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2012-10046 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-10046 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-hhf2-fwjq-ffr3.

Is CVE-2012-10046 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free