CVE-2007-4727 Memory corruption in n/a

Medium 6.8 Published Updated

Remote attackers can execute arbitrary code on lighttpd servers via a buffer overflow in the mod_fastcgi extension triggered by a long HTTP content length.

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-4727?

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

Official description

Buffer overflow in the fcgi_env_add function in mod_proxy_backend_fastcgi.c in the mod_fastcgi extension in lighttpd before 1.4.18 allows remote attackers to overwrite arbitrary CGI variables and execute arbitrary code via an HTTP request with a long content length, as demonstrated by overwriting the SCRIPT_FILENAME variable, aka a "header overflow."

Weakness: CWE-119

Which versions are affected by CVE-2007-4727?

It affects 1 product.

Products include Lighttpd Lighttpd.

How do I fix CVE-2007-4727?

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-4727 being exploited?

There is no known exploitation of CVE-2007-4727 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-4727, GHSA-8fr6-p7rj-wmfr.

Is CVE-2007-4727 in your software?

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

Check your SBOMs for free