CVE-2012-6096
No CVSS score yet. EPSS 66% estimated probability of exploitation activity in the next 30 days.
On this page
Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core before 3.4.4, and Icinga 1.6.x before 1.6.2, 1.7.x before 1.7.4, and 1.8.x before 1.8.4, might allow remote attackers to execute arbitrary code via a long (1) host_name variable (host parameter) or (2) svc_description variable.
- EPSS
- 66% (unchanged from 66% a week ago; 66% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
- Debian: fixed package versions per release
- Vendor advisory: http://secunia.com/advisories/51863
- Vendor advisory: https://dev.icinga.org/issues/3532
Ask an AI about this CVE
Show the prompt
Explain CVE-2012-6096 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-6096?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-6096?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-6096 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| nagios:nagios | through 3.4.3 |
| nagios:nagios | 3.0 |
| nagios:nagios | 3.0:alpha1 |
| nagios:nagios | 3.0:alpha2 |
| nagios:nagios | 3.0:alpha3 |
| nagios:nagios | 3.0:alpha4 |
| nagios:nagios | 3.0:alpha5 |
| nagios:nagios | 3.0:beta1 |
| nagios:nagios | 3.0:beta2 |
| nagios:nagios | 3.0:beta3 |
| nagios:nagios | 3.0:beta4 |
| nagios:nagios | 3.0:beta5 |
| nagios:nagios | 3.0:beta6 |
| nagios:nagios | 3.0:beta7 |
| nagios:nagios | 3.0:rc1 |
| nagios:nagios | 3.0:rc2 |
| nagios:nagios | 3.0:rc3 |
| nagios:nagios | 3.0.1 |
| nagios:nagios | 3.0.2 |
| nagios:nagios | 3.0.3 |
| nagios:nagios | 3.0.4 |
| nagios:nagios | 3.0.5 |
| nagios:nagios | 3.0.6 |
| nagios:nagios | 3.1.0 |
| nagios:nagios | 3.1.1 |
| nagios:nagios | 3.1.2 |
| nagios:nagios | 3.2.0 |
| nagios:nagios | 3.2.1 |
| nagios:nagios | 3.2.2 |
| nagios:nagios | 3.2.3 |
| nagios:nagios | 3.3.1 |
| nagios:nagios | 3.4.0 |
| nagios:nagios | 3.4.1 |
| nagios:nagios | 3.4.2 |
| icinga:icinga | 1.6.0 |
| icinga:icinga | 1.6.1 |
| icinga:icinga | 1.7.0 |
| icinga:icinga | 1.7.1 |
| icinga:icinga | 1.7.2 |
| icinga:icinga | 1.7.3 |
| icinga:icinga | 1.8.0 |
| icinga:icinga | 1.8.1 |
| icinga:icinga | 1.8.2 |
| icinga:icinga | 1.8.3 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | icinga | 1.0.2-2+squeeze1 | DSA-2653-1 |
| Debian | 6.0 | nagios3 | 3.2.1-2+squeeze1 | DSA-2616-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.
Public exploits
- Exploit-DB Nagios3 - 'history.cgi' Host Command Execution (Metasploit)
- Exploit-DB Nagios3 - 'history.cgi' Remote Command Execution
- Metasploit Nagios3 history.cgi Host Command Execution
Attack patterns (CAPEC)
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).
References
- http://secunia.com/advisories/51863
- https://dev.icinga.org/issues/3532
- http://lists.grok.org.uk/pipermail/full-disclosure/2012-December/089125.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00033.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00060.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00077.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00088.html
- http://www.debian.org/security/2013/dsa-2616
- http://www.debian.org/security/2013/dsa-2653
- http://www.exploit-db.com/exploits/24084
- http://www.exploit-db.com/exploits/24159
- http://www.nagios.org/projects/nagioscore/history/core-3x
- http://www.osvdb.org/89170
- http://www.securityfocus.com/bid/56879
- https://bugzilla.redhat.com/show_bug.cgi?id=893269
- https://www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released/