CVE-2012-6096: 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…
Noroxi assessment
Priority: Plan (action score 50/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Public proof-of-concept code exists (Exploit-DB); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 66.4% (FIRST EPSS); higher than 99.2% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: icinga (Debian:6.0) 1.0.2-2+squeeze1; nagios3 (Debian:6.0) 3.2.1-2+squeeze1.
Add it to your regular patch cycle. Upgrade to icinga (Debian:6.0) 1.0.2-2+squeeze1; nagios3 (Debian:6.0) 3.2.1-2+squeeze1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jan 22, 2013
- Updated
- Jun 16, 2026
- EPSS
- 66.4% · 99th percentile
- CWE
- CWE-119
Report tools
Action score
50
Add it to your regular patch cycle.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 20 / 30 · 66.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- icinga icinga1.6.0
- icinga icinga1.6.1
- icinga icinga1.7.0
- icinga icinga1.7.1
- icinga icinga1.7.2
- icinga icinga1.7.3
- icinga icinga1.8.0
- icinga icinga1.8.1
+12 more rows
- icinga icinga1.8.2
- icinga icinga1.8.3
- nagios nagiosup to 3.4.3 inclusive
- nagios nagios3.0
- nagios nagios3.0.1
- nagios nagios3.0.2
- nagios nagios3.0.3
- nagios nagios3.0.4
- nagios nagios3.0.5
- nagios nagios3.0.6
- nagios nagios3.1.0
- nagios nagios3.1.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:6.0 | icinga | before 1.0.2-2+squeeze1 | 1.0.2-2+squeeze1 |
| Debian:6.0 | nagios3 | before 3.2.1-2+squeeze1 | 3.2.1-2+squeeze1 |
Same product
nagios: all recordsOther highest-scoring records for the same primary product.
- CVE-2009-2288statuswml.cgi in Nagios before 3.1.1 allows remote attackers to execute arbitrary commands via shell metacharacters in the (1) ping or (2)…55Plan
- CVE-2016-9565MagpieRSS, as used in the front-end component in Nagios Core before 4.2.2 might allow remote attackers to read or write to arbitrary files…46Plan
- CVE-2002-1959Nagios 1.0b1 through 1.0b3 allows remote attackers to execute arbitrary commands via shell metacharacters in plugin output.41Plan
Published before and after this one in the same product
- ← EarlierCVE-2008-6373Mar 2, 2009 · Unspecified vulnerability in Nagios before 3.0.6 has unspecified impact and remote attack vectors related to CGI programs, "adaptive…21Monitor
- ← EarlierCVE-2011-1523May 3, 2011 · Cross-site scripting (XSS) vulnerability in statusmap.c in statusmap.cgi in Nagios 3.2.3 and earlier allows remote attackers to inject…18Monitor
- Later →CVE-2013-4214Nov 23, 2013 · rss-newsfeed.php in Nagios Core 3.4.4, 3.5.1, and earlier, when MAGPIE_CACHE_ON is set to 1, allows local users to overwrite arbitrary…25Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:icinga | 1.0.2-2+squeeze1 · Debian:6.0 | Package registry (OSV) |
| debian:nagios3 | 3.2.1-2+squeeze1 · Debian:6.0 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Exploit-DB entry ×2
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Exploit-DB entry | remote | 2013-01-16 |
| Exploit-DB entry | remote | 2013-01-13 |
| Metasploit module | exploit/unix/webapp/nagios3_history_cgiNagios3 history.cgi Host Command Executionexploit | 2012-12-09 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Metasploit-45 d
- First PoC-10 d
- Published
- TodayNov 16, 2026+5045 d
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Overflow BuffersCAPEC-100likelihood: High · Very High
- Buffer ManipulationCAPEC-123likelihood: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14likelihood: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24likelihood: High · High
- MIME ConversionCAPEC-42likelihood: High · High
- Overflow Binary Resource FileCAPEC-44likelihood: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- lists.opensuse.org/opensuse-updates/2013-01/msg00033.html
- lists.opensuse.org/opensuse-updates/2013-01/msg00060.html
- lists.opensuse.org/opensuse-updates/2013-01/msg00077.html
- lists.opensuse.org/opensuse-updates/2013-01/msg00088.html
- secunia.com/advisories/51863
- www.debian.org/security/2013/dsa-2616
- www.debian.org/security/2013/dsa-2653
- www.nagios.org/projects/nagioscore/history/core-3x
- www.osvdb.org/89170
- bugzilla.redhat.com/show_bug.cgi?id=893269
- dev.icinga.org/issues/3532
- www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.