Stack-based buffer overflow in lighttpd - CVE-2014-1878
Published: February 28, 2014 / Updated: August 8, 2022
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error within the cmd_submitf function in cgi/cmd.c when processing a long message to cmd.cgi. 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
Debian Linux
Ubuntu
nagios (Alpine package)
icinga (Debian package)
nagios3 (Debian package)
nagios3-cgi (Ubuntu package)
nagios3-core (Ubuntu package)
How to mitigate CVE-2014-1878
icinga (Debian package) - update to 1.0.2-2+squeeze2
nagios3 (Debian package) - update to 3.4.1-3+deb7u2
nagios3-cgi (Ubuntu package) - addressed in versions 3.5.1-1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu3.1
nagios3-core (Ubuntu package) - addressed in versions 3.5.1-1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu3.1
External References
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00033.html
- http://secunia.com/advisories/57024
- http://www.securityfocus.com/bid/65605
- https://bugzilla.redhat.com/show_bug.cgi?id=1066578
- https://dev.icinga.org/issues/5434
- https://lists.debian.org/debian-lts-announce/2018/12/msg00014.html
- https://www.icinga.org/2014/02/11/bugfix-releases-1-10-3-1-9-5-1-8-6