Stack-based buffer overflow in Nagios - CVE-2012-6096

 

Stack-based buffer overflow in Nagios - CVE-2012-6096

Published: January 23, 2013 / Updated: July 29, 2020


Vulnerability identifier: #VU32699
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-6096
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a long (1) host_name variable (host parameter) or (2) svc_description variable. A remote unauthenticated attacker can trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Nagios
Gentoo Linux
Fedora
nagios (Alpine package)
nagios

How to mitigate CVE-2012-6096

Update to version 3.4.4.

Nagios - update to 3.4.4
nagios (Alpine package) - update to 3.2.3-r6
nagios - update to 3.4.4-1.el6

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins