Stack-based buffer overflow in mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2, when the server has a map with a long IMAGEPATH or NAME attribute, allows remote attackers to execute arbitrary code via a crafted id parameter in a query action.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://www.positronsecurity.com/advisories/2009-000.html | exploit |
http://www.securitytracker.com/id?1021952 | vdb entry |
http://www.securityfocus.com/archive/1/502271/100/0/threaded | mailing list |
http://trac.osgeo.org/mapserver/ticket/2944 | vendor advisory |
http://secunia.com/advisories/34603 | third party advisory |
https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00170.html | vendor advisory |
http://www.securityfocus.com/bid/34306 | vdb entry |
http://secunia.com/advisories/34520 | third party advisory |
http://www.debian.org/security/2009/dsa-1914 | vendor advisory |
https://www.redhat.com/archives/fedora-package-announce/2009-April/msg00147.html | vendor advisory |
http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html | mailing list |