CVE-2012-6096: Buffer Overflow

Published Jan 9, 2013
·
Updated

It was reported [1] that Nagios Core's history.cgi is vulnerable to a buffer overflow because it used sprintf on user-supplied data that was not restricted in size.

Due to various protections of the operating system (history.cgi is compiled with SSP, FORTIFYSOURCE is enabled, etc.) this is not believed to be exploitable and would result in a denial of service to the user sending the input to history.cgi.

This has been fixed in svn (r2547)[2].

[1] http://archives.neohapsis.com/archives/fulldisclosure/2012-12/0108.html [2] http://nagios.svn.sourceforge.net/viewvc/nagios?view=revision&revision=2547

Other sources

Multiple stack-based buffer overflows in the gethistory 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) hostname variable (host parameter) or (2) svcdescription variable.

MITRE

Affected Software

44 affected components
Nagios nagios<=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

Event History

Jan 9, 2013
Data Sourced
via Red Hat·01:52 AM
DescriptionSeverityAffected Software
Jan 22, 2013
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2012-6096?

CVE-2012-6096 is classified as a medium severity vulnerability due to its potential for causing buffer overflows.

2

How do I fix CVE-2012-6096?

To mitigate CVE-2012-6096, update Nagios Core to version 3.4.4 or higher, as these versions contain the necessary security patches.

3

Which versions of Nagios are affected by CVE-2012-6096?

CVE-2012-6096 affects Nagios Core versions up to and including 3.4.3 and various earlier versions.

4

Can CVE-2012-6096 lead to remote code execution?

Yes, CVE-2012-6096 could potentially allow an attacker to execute arbitrary code via a crafted request due to the buffer overflow.

5

Is CVE-2012-6096 still a risk if my system has security features enabled?

Despite some protections like SSP and FORTIFY_SOURCE, CVE-2012-6096 can still be exploited, making it important to apply the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203