CVE-2009-0841 Path traversal in n/a

Critical 10.0 Published Updated

Remote attackers can create arbitrary files on Windows systems running MapServer with Cygwin via directory traversal in the id parameter.

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

CVE-2009-0841 is a critical path traversal vulnerability in n/a, published on 31 Mar 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directory traversal vulnerability in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when running on Windows with Cygwin, allows remote attackers to create arbitrary files via a .. (dot dot) in the id parameter.

Weakness: CWE-22

Which versions are affected by CVE-2009-0841?

It affects 2 products.

Products include Osgeo Mapserver, Umn Mapserver.

How do I fix CVE-2009-0841?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2009-0841 being exploited?

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

Sources

Also known as DEBIAN-CVE-2009-0841, GHSA-jrh8-99hv-m6mp.

Is CVE-2009-0841 in your software?

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

Check your SBOMs for free