CVE-2009-2281 Memory corruption in n/a
Remote attackers can execute arbitrary code on MapServer via crafted HTTP requests exploiting heap-based buffer underflows in the CGI utility.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-2281?
CVE-2009-2281 is a critical memory corruption vulnerability in n/a, published on 23 Oct 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple heap-based buffer underflows in the readPostBody function in cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before 5.4.2 allow remote attackers to execute arbitrary code via (1) a crafted Content-Length HTTP header or (2) a large HTTP request, related to an integer overflow that triggers a heap-based buffer overflow. NOTE: this issue reportedly exists because of an incomplete fix for CVE-2009-0840.
Weakness: CWE-119
Which versions are affected by CVE-2009-2281?
It affects 2 products.
Products include Osgeo Mapserver, Umn Mapserver.
How do I fix CVE-2009-2281?
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-2009-2281 being exploited?
There is no known exploitation of CVE-2009-2281 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-2281, GHSA-6726-5cj2-9h6f.