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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ESVA-Project | E-Mail Security Virtual Appliance | ESVA_2057 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
E-Mail Security Virtual Appliance learn-msg.cgi Command Injection
exploit/linux/http/esva_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://sourceforge.net/projects/esva-project/ product
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/esva_exec.rb exploit
- https://www.exploit-db.com/exploits/20551 exploit
- https://www.exploit-db.com/exploits/20712 exploit
- https://www.vulncheck.com/advisories/email-security-virtual-appliance-command-injection third-party-advisory