{"id":"CVE-2007-5198","aliases":["DEBIAN-CVE-2007-5198","DSA-1495-1","DTSA-67-1","EUVD-2007-5179","GHSA-x9h3-fh68-r937"],"status":"published","title":"Buffer overflow in the redir function in check_http.c in Nagios Plugins before 1.4.10, when...","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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.08017,"percentile":0.94804,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-119"],"published":"2007-10-04T17:00:00Z","modified":"2026-06-16T22:45:38Z","exploits":[{"source":"exploitdb","id":"EDB-30646","title":"Nagios Plugins 1.4.2/1.4.9 - Location Header Remote Buffer Overflow","type":"dos","platform":"linux","date":"2007-07-16","verified":true,"url":"https://www.exploit-db.com/exploits/30646"}],"fixes":[{"ecosystem":"Debian:5.0","package":"nagios-plugins","fixed_in":["1.4.8-2+lenny1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:3.1","package":"nagios-plugins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4-6sarge1"}]}],"versions":["1.4-6"],"bundled":2},{"source":"osv","ecosystem":"Debian:4.0","package":"nagios-plugins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5-1etch1"}]}],"versions":["1.4.5-1"],"bundled":2},{"source":"osv","ecosystem":"Debian:5.0","package":"nagios-plugins","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.8-2+lenny1"}]}]}],"products":[{"vendor":"nagios","product":"plugins"}],"references":[{"url":"http://secunia.com/advisories/27965","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.vupen.com/english/advisories/2007/3394","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=194178","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://secunia.com/advisories/27609","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/27124","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:067","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"]},{"url":"http://secunia.com/advisories/28930","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://secunia.com/advisories/29862","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://sourceforge.net/forum/forum.php?forum_id=740172","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://sourceforge.net/tracker/index.php?func=detail\u0026aid=1687867\u0026group_id=29880\u0026atid=397597","tags":["x_refsource_CONFIRM","x_transferred","Exploit"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00282.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.ubuntu.com/usn/usn-532-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"http://www.securityfocus.com/bid/25952","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://www.debian.org/security/2008/dsa-1495","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.novell.com/linux/security/advisories/2007_25_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://secunia.com/advisories/27362","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"http://sourceforge.net/tracker/index.php?func=detail\u0026aid=1813346\u0026group_id=29880\u0026atid=397597","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://security.gentoo.org/glsa/glsa-200711-11.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00249.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-April/msg00320.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-5198"},{"url":"https://github.com/advisories/GHSA-x9h3-fh68-r937"}],"sources":{"cve":[{"id":"CVE-2007-5198","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.","status":"published","published":"2007-10-04T17:00:00Z","modified":"2024-08-07T15:24:42.201Z","updated_at":"2026-11-02T13:32:00.617893Z"}],"euvd":[{"id":"EUVD-2007-5179","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.","status":"published","published":"2007-10-04T17:00:00Z","modified":"2024-08-07T15:24:42Z","updated_at":"2026-11-03T01:16:18.260819Z"}],"ghsa":[{"id":"GHSA-x9h3-fh68-r937","title":"Buffer overflow in the redir function in check_http.c in Nagios Plugins before 1.4.10, when...","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.","status":"published","published":"2022-05-01T18:31:03Z","modified":"2023-01-31T05:04:40Z","cwes":["CWE-119"],"updated_at":"2026-11-02T14:48:42.977051Z"}],"nvd":[{"id":"CVE-2007-5198","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.","status":"published","published":"2007-10-04T17:17:00Z","modified":"2026-06-16T22:45:38.293Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-119"],"updated_at":"2026-11-02T14:01:21.141213Z"}],"osv":[{"id":"DSA-1495-1","title":"nagios-plugins - several","status":"published","published":"2008-02-12T00:00:00Z","modified":"2026-03-09T01:22:01.519881Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"DTSA-67-1","title":"nagios-plugins - multiple stack based vulnerabilities","status":"published","published":"2007-10-20T00:00:00Z","modified":"2026-03-09T01:02:00.717757Z","updated_at":"2026-11-02T15:46:18.716547Z"}]}}
