{"id":"CVE-2012-6096","aliases":["DEBIAN-CVE-2012-6096","DSA-2616-1","DSA-2653-1","EUVD-2012-5966","GHSA-976m-29vc-cxx7","openSUSE-SU-2024:10182-1"],"status":"published","title":"Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core...","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.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.6645,"percentile":0.99289,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2013-01-22T23:00:00Z","modified":"2026-06-16T23:47:49Z","exploits":[{"source":"metasploit","id":"exploit/unix/webapp/nagios3_history_cgi","title":"Nagios3 history.cgi Host Command Execution","type":"exploit","platform":"Linux,Unix","date":"2012-12-09","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/unix/webapp/nagios3_history_cgi"},{"source":"exploitdb","id":"EDB-24084","title":"Nagios3 - 'history.cgi' Remote Command Execution","type":"remote","platform":"multiple","date":"2013-01-13","verified":true,"url":"https://www.exploit-db.com/exploits/24084"},{"source":"exploitdb","id":"EDB-24159","title":"Nagios3 - 'history.cgi' Host Command Execution (Metasploit)","type":"remote","platform":"linux","date":"2013-01-16","verified":true,"url":"https://www.exploit-db.com/exploits/24159"}],"fixes":[{"ecosystem":"Debian:6.0","package":"nagios3","fixed_in":["3.2.1-2+squeeze1"],"sources":["osv"]},{"ecosystem":"Debian:6.0","package":"icinga","fixed_in":["1.0.2-2+squeeze1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:6.0","package":"nagios3","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-2+squeeze1"}]}],"versions":["3.2.1-2"]},{"source":"osv","ecosystem":"Debian:6.0","package":"icinga","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.2-2+squeeze1"}]}],"versions":["1.0.2-2"]}],"products":[{"vendor":"icinga","product":"icinga"},{"vendor":"nagios","product":"nagios"}],"references":[{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2012-December/089125.html","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://www.debian.org/security/2013/dsa-2616","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00077.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.exploit-db.com/exploits/24084","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00033.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/51863","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00088.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://www.nagios.org/projects/nagioscore/history/core-3x","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=893269","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.exploit-db.com/exploits/24159","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred","Exploit"]},{"url":"http://www.osvdb.org/89170","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-01/msg00060.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://dev.icinga.org/issues/3532","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"http://www.debian.org/security/2013/dsa-2653","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/56879","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6096"},{"url":"https://www.icinga.org/2013/01/14/icinga-1-6-2-1-7-4-1-8-4-released"},{"url":"https://github.com/advisories/GHSA-976m-29vc-cxx7"},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2012-6096","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-7107","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-7108","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2014-2386","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2012-6096","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.","status":"published","published":"2013-01-22T23:00:00Z","modified":"2024-08-06T21:21:28.457Z","updated_at":"2026-11-02T14:34:51.269982Z"}],"euvd":[{"id":"EUVD-2012-5966","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.","status":"published","published":"2013-01-22T23:00:00Z","modified":"2024-08-06T21:21:28Z","updated_at":"2026-11-03T01:56:02.968969Z"}],"ghsa":[{"id":"GHSA-976m-29vc-cxx7","title":"Multiple stack-based buffer overflows in the get_history function in history.cgi in Nagios Core...","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.","status":"published","published":"2022-05-17T05:09:09Z","modified":"2025-04-11T04:06:39Z","cwes":["CWE-119"],"updated_at":"2026-11-02T15:01:13.040475Z"}],"nvd":[{"id":"CVE-2012-6096","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.","status":"published","published":"2013-01-22T23:55:03.247Z","modified":"2026-06-16T23:47:49.127Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:02:16.958223Z"}],"osv":[{"id":"DSA-2616-1","title":"nagios3 - buffer overflow vulnerability","status":"published","published":"2013-02-01T00:00:00Z","modified":"2026-03-09T01:17:44.96668Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"DSA-2653-1","title":"icinga - buffer overflow","status":"published","published":"2013-03-26T00:00:00Z","modified":"2026-03-09T01:18:24.418454Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"openSUSE-SU-2024:10182-1","title":"icinga-1.13.3-2.4 on GA media","description":"These are all security issues fixed in the icinga-1.13.3-2.4 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T02:37:36.443295Z","updated_at":"2026-11-02T16:58:33.135986Z"}]}}
