Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-5198 EUVD-2007-5179GHSA-x9h3-fh68-r937

Buffer overflow in the redir function in check_http.c in Nagios Plugins before 1.4.10, when running with the -f (follow) option, allows rem…

Published Oct 4, 2007 · Updated Aug 7, 2024 · Assigned by redhat

Description

Buffer overflow in the redir function in check_http.c in Nagios Plugins before 1.4.10, when running with the -f (follow) option, allows remote web servers to execute arbitrary code via Location header responses (redirects) with a large number of leading "L" characters.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 nagios-plugins 1.4.8-2+lenny1 DTSA-67-1
Debian 4.0 nagios-plugins 1.4.5-1etch1 DSA-1495-1
Debian 3.1 nagios-plugins 1.4-6sarge1 DSA-1495-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References