Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


MapServer Multiple Vulnerabilities Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA26561  
Release Date: 2007-08-24
Last Update: 2007-09-06

Critical:
Moderately critical
Impact: Cross Site Scripting
DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:MapServer 4.x

CVE reference:CVE-2007-4542 (Secunia mirror)
CVE-2007-4629 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
Some vulnerabilities have been reported in MapServer, which can be exploited by malicious people to conduct cross-site scripting attacks or to potentially compromise a vulnerable system.

1) Input passed to unspecified parameters is not properly sanitised before being returned to the user via the "processLine()" function in maptemplate.c and the "writeError()" function in mapserv.c. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.

2) A boundary error exists in the processing of map files within the "processLine()" function in maptemplate.c. This can be exploited to cause a stack-based buffer overflow via overly long (larger than 5120 bytes) names for layers, groups, or metadata entries.

Successful exploitation may allow execution of arbitrary code.

The vulnerabilities are reported in versions prior to 4.10.3.

Solution:
Update to version 4.10.3.
http://mapserver.gis.umn.edu/download/current/

Provided and/or discovered by:
1) The vendor credits Chris Schmidt.
2) dmorissette

Changelog:
2007-09-04: Added vulnerability #2 and increased criticality.
2007-09-06: Added CVE reference.

Original Advisory:
1) http://trac.osgeo.org/mapserver/ticket/2256
2) http://trac.osgeo.org/mapserver/ticket/2252

Other References:
1) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439346



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
OpenBSD BIND Query Port DNS Cache Poisoning
2.
Microsoft Word Unspecified Code Execution Vulnerability
3.
Linux Kernel LDT Buffer Size Handling Vulnerability
4.
Slackware update for dnsmasq
5.
Debian update for clamav
6.
Drupal Session Fixation Vulnerability
7.
Red Hat update for kernel
8.
Red Hat update for thunderbird
9.
Ubuntu update for php
10.
IPCop update for perl





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia