CVE-2012-2104 Command injection in n/a
Remote attackers can execute arbitrary commands or delete files via crafted HTTP requests if a user views malicious logs in a terminal.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2012-2104?
CVE-2012-2104 is a medium-severity command injection vulnerability in n/a, published on 26 Aug 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
cgi-bin/munin-cgi-graph in Munin 2.x writes data to a log file without sanitizing non-printable characters, which might allow user-assisted remote attackers to inject terminal emulator escape sequences and execute arbitrary commands or delete arbitrary files via a crafted HTTP request.
Weakness: CWE-20
Which versions are affected by CVE-2012-2104?
It affects 1 product.
Products include Munin-Monitoring Munin.
How do I fix CVE-2012-2104?
Upgrade to a fixed version.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2012-2104 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2104 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-2104, GHSA-3pm4-hp5q-g8qj.