Files
CVEs-PoC/2012/CVE-2012-10046.md
2025-09-29 21:09:30 +02:00

21 lines
1.3 KiB
Markdown

### [CVE-2012-10046](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-10046)
![](https://img.shields.io/static/v1?label=Product&message=E-Mail%20Security%20Virtual%20Appliance&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=ESVA_2057%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-78%20Improper%20Neutralization%20of%20Special%20Elements%20used%20in%20an%20OS%20Command%20('OS%20Command%20Injection')&color=brightgreen)
### 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.
### POC
#### Reference
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/esva_exec.rb
- https://www.exploit-db.com/exploits/20551
- https://www.exploit-db.com/exploits/20712
- https://www.vulncheck.com/advisories/email-security-virtual-appliance-command-injection
#### Github
- https://github.com/fkie-cad/nvd-json-data-feeds