CVE-2017-6188
Medium · 5.5CVSS
5.5
EPSS
0.4%
Published
Feb 22, 2017
CISA due date
—
Cloudanix analysis
A monitoring tool allowed users to overwrite important server files by sending specially crafted web requests, which could let attackers damage or take control of parts of the system.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
When CGI graphs are enabled, multiple upper_limit GET parameters allow an authenticated local user to write arbitrary content to any file writable by the www-data user via improper input validation.
Why it matters to the business
Attackers can corrupt or replace configuration, data, or script files on the server, leading to service disruption, data tampering, or potential escalation of access in environments running the affected monitoring software.
How an attack unfolds
An attacker with local or web access to the Munin CGI graph endpoint crafts a request containing repeated upper_limit parameters; the application fails to sanitize the input and writes attacker-controlled data to a chosen file path accessible by the web server process.
How to fix it
Upgrade Munin to version 2.999.6 or later (commit 3757f16bf453f172ca750403156029563405e840) or apply the corresponding fixed packages for addon-resizer-fips and addon-resizer-fips-compat at 1.8.21-r3; disable CGI graph functionality if immediate upgrade is not feasible.
How to confirm the fix worked
Verify the installed Munin version is 2.999.6 or newer, confirm absence of the vulnerable graph CGI code path, and test that repeated upper_limit parameters no longer result in arbitrary file writes.
Typical attack path
- Identify a Munin instance with CGI graphs enabled and reachable via HTTP
- Authenticate or access the graph generation endpoint as the www-data user context
- Submit a GET request containing multiple upper_limit parameters pointing to a target file path
- Observe successful file overwrite or error confirming write access
- Leverage the modified file for further persistence, denial of service, or lateral movement
How to detect it
Search web server access logs for graph.cgi or similar endpoints containing multiple occurrences of the upper_limit parameter in a single request; inspect file modification timestamps on configuration and script files owned by www-data for unexpected changes around the time of such requests.
- upper_limit=.*upper_limit=
- GET.*graph.*upper_limit.*upper_limit
What your security team should do
- Apply the listed fixed versions immediately on all affected Munin deployments
- Review web server logs for historical requests containing repeated upper_limit parameters
- Restrict or disable CGI graph access to the minimum required users and networks
- Monitor EPSS and threat intelligence feeds for any future exploitation spikes despite low current scores
The record
Munin before 2.999.6 has a local file write vulnerability when CGI graphs are enabled. Setting multiple upper_limit GET parameters allows overwriting any file accessible to the www-data user.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | munin | 0 | 2.0.31-1 |
| Debian:12 | munin | 0 | 2.0.31-1 |
| Debian:13 | munin | 0 | 2.0.31-1 |
| Debian:7 | munin | 0 | 2.0.6-4+deb7u3 |
| Debian:8 | munin | 0 | 2.0.25-1+deb8u1 |
| Mageia:5 | munin | 0 | 2.0.25-1.1.mga5 |
| Ubuntu:14.04:LTS | munin | 0 | 2.0.19-3ubuntu0.2 |
| Ubuntu:16.04:LTS | munin | 0 | 2.0.25-2ubuntu0.16.04.2 |
| openSUSE:Tumbleweed | munin | 0 | 2.0.66-3.5 |
Related vulnerabilities
- CVE-2026-63339 IXP Manager is a full-stack web application for managing Internet Exchange Points. CWE-20
- CVE-2026-62958 libriscv is a RISC-V sandbox and emulator. CWE-20
- CVE-2026-119342 Stirling-PDF is a locally hosted web application that facilitates various operations on… CWE-20
- CVE-2026-119339 Tesseract is an open source OCR engine. CWE-20
- CVE-2026-62335 OpenVM is a performant and modular zkVM framework built for customization and… CWE-20
- CVE-2026-62337 SNARK Verifier is a generic (S)NARK verifier. CWE-20
- CVE-2026-62333 OpenVM is a performant and modular zkVM framework built for customization and… CWE-20
- CVE-2026-61618 SNARK Verifier is a generic (S)NARK verifier. CWE-20