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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | munin | 2.0~rc6-1 | — |
| Debian 13 | munin | 2.0~rc6-1 | — |
| Debian 12 | munin | 2.0~rc6-1 | — |
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.
Exploit-DB 1
- Munin 2.0~rc4-1 - Remote Command Injection EDB-37084 · webapps · Apr 13, 2012 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- munin-munincgigraphlog-command-execution(74885) vdb-entry
- https://support.citrix.com/article/CTX236992
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668666
- [oss-security] 20120416 Re: CVE Request (minor) -- Two Munin graphing framework flaws mailing-list
- [oss-security] 20120416 CVE Request (minor) -- Two Munin graphing framework flaws mailing-list
- 53032 vdb-entry