{"id":"CVE-2012-6096","published":"2013-01-22T23:00:00Z","modified":"2024-08-06T21:21:28Z","title":"Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core before 3.4.4, and…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Multiple stack-based buffer overflows exist in the get_history function of history.cgi, a component of Nagios Core before 3.4.4 and Icinga versions prior to 1.6.2, 1.7.4, and 1.8.4, triggered by overlong host_name (host parameter) or svc_description values.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:19:46Z"},"cvss":null,"epss":{"score":0.6645,"percentile":0.99281,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2012-December/089125.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://www.debian.org/security/2013/dsa-2616","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00077.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.exploit-db.com/exploits/24084","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00033.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/51863","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00088.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://www.nagios.org/projects/nagioscore/history/core-3x","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=893269","tags":["x_refsource_CONFIRM"]},{"url":"http://www.exploit-db.com/exploits/24159","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://www.osvdb.org/89170","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"https://www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released/","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00060.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://dev.icinga.org/issues/3532","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2013/dsa-2653","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securityfocus.com/bid/56879","tags":["vdb-entry","x_refsource_BID"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2012-5966","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2012-5966","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":24084,"url":"https://www.exploit-db.com/exploits/24084","title":"Nagios3 - 'history.cgi' Remote Command Execution","type":"remote","platform":"multiple","date":"2013-01-13","verified":true,"provenance":"source"},{"id":24159,"url":"https://www.exploit-db.com/exploits/24159","title":"Nagios3 - 'history.cgi' Host Command Execution (Metasploit)","type":"remote","platform":"linux","date":"2013-01-16","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2013-01-13"},"metasploit":[{"name":"Nagios3 history.cgi Host Command Execution","module":"exploit/unix/webapp/nagios3_history_cgi","type":"exploit","disclosureDate":"2012-12-09","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/nagios3_history_cgi.rb"}],"first":{"date":"2012-12-09","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/nagios3_history_cgi.rb"},"provenance":"source"},"exploitRefs":["http://www.exploit-db.com/exploits/24084","http://www.exploit-db.com/exploits/24159"],"flow":[],"timeline":[{"date":"2012-12-09","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2013-01-13","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/nagios3_history_cgi.rb","provenance":"source"},{"date":"2013-01-22","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2012-6096","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.86,"detail":"percentile 0.9928"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 NVD references tagged Exploit; 2 Exploit-DB entries; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}