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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mapserver | 5.2.2-1 | — |
| Debian 13 | mapserver | 5.2.2-1 | — |
| Debian 12 | mapserver | 5.2.2-1 | — |
| Debian 5.0 | mapserver | 5.0.3-3+lenny4 | DSA-1914-1 |
| Debian 4.0 | mapserver | 4.10.0-5.1+etch4 | DSA-1914-1 |
Advisories 1
- DSA-1914-1 mapserver - serveral vulnerabilities Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://www.positronsecurity.com/advisories/2009-000.html
- 1021952 vdb-entry
- 20090330 Positron Security Advisory #2009-000: Multiple Vulnerabilities in MapServer v5.2.1 and v4.10.3 mailing-list
- 34603 third-party-advisory
- FEDORA-2009-3383 vendor-advisory
- 34306 vdb-entry
- 34520 third-party-advisory
- DSA-1914 vendor-advisory
- mapserver-mapserv-dir-traversal(49548) vdb-entry
- http://trac.osgeo.org/mapserver/ticket/2942
- FEDORA-2009-3357 vendor-advisory
- [mapserver-users] 20090326 MapServer 5.2.2 and 4.10.4 released with security fixes mailing-list