CVE-2007-5198 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code on systems running Nagios Plugins with the follow option enabled by sending malicious HTTP redirect headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2007-5198?

CVE-2007-5198 is a medium-severity memory corruption vulnerability in n/a, published on 4 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2007-5198?

It affects 1 product.

Products include Nagios Plugins.

How do I fix CVE-2007-5198?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2007-5198 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5198 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DTSA-67-1, GHSA-x9h3-fh68-r937.

Is CVE-2007-5198 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free