what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Secunia Security Advisory 34520

Secunia Security Advisory 34520
Posted Mar 31, 2009
Authored by Secunia | Site secunia.com

Secunia Security Advisory - Some vulnerabilities and a weakness have been reported in MapServer, which can be exploited by malicious people to disclose potentially sensitive information, bypass certain security restrictions, cause a DoS (Denial of Service), and potentially to compromise a vulnerable system.

tags | advisory, denial of service, vulnerability
SHA-256 | c285416e9cd8951910d655b3a9ec0748d362a2b80bd31e7440e01e14028a22f6

Secunia Security Advisory 34520

Change Mirror Download
----------------------------------------------------------------------

Secunia is pleased to announce the release of the annual Secunia
report for 2008.

Highlights from the 2008 report:
* Vulnerability Research
* Software Inspection Results
* Secunia Research Highlights
* Secunia Advisory Statistics

Request the full 2008 Report here:
http://secunia.com/advisories/try_vi/request_2008_report/

Stay Secure,

Secunia


----------------------------------------------------------------------

TITLE:
MapServer Multiple Vulnerabilities

SECUNIA ADVISORY ID:
SA34520

VERIFY ADVISORY:
http://secunia.com/advisories/34520/

DESCRIPTION:
Some vulnerabilities and a weakness have been reported in MapServer,
which can be exploited by malicious people to disclose potentially
sensitive information, bypass certain security restrictions, cause a
DoS (Denial of Service), and potentially to compromise a vulnerable
system.

1) A boundary error in the "mapserv" CGI program can be exploited to
cause a stack-based buffer overflow e.g. via a specially crafted map
file or potentially via specially crafted requests containing an
overly long string (128 bytes) passed via the "id" parameter.

Successful exploitation may allow execution of arbitrary code.

2) An indexing error exists when processing the "Content-Length"
header within the "mapserv" CGI program. This can be exploited to
cause an out-of-bounds array access via a specially crafted POST
request.

Successful exploitation requires a web server that does not sanitise
the "Content-Length" header.

3) Input passed to the "id" parameter to the "mapserv" CGI program is
not properly sanitised before being used. This can be exploited to
write files to arbitrary locations via directory traversal attacks.

4) An error in the "mapserv" CGI program in the processing of local
.map files can be exploited to disclose potentially sensitive
information in arbitrary .map files by specifying a full path via the
"map" parameter.

5) An error in the "mapserv" CGI program in the processing of local
.map files can be exploited to disclose the existence of local files
via the "queryfile" parameter.

6) Boundary errors within the "msGenerateImages()" function in
maptemplate.c can potentially be exploited to cause stack-based
buffer overflows via a specially crafted map file.

The vulnerabilities and the weakness are reported in version prior to
5.2.2 and 4.10.4.

SOLUTION:
Update to version 5.2.2 or 4.10.4.
http://download.osgeo.org/mapserver/mapserver-5.2.2.tar.gz
http://download.osgeo.org/mapserver/mapserver-4.10.4.tar.gz

PROVIDED AND/OR DISCOVERED BY:
1 - 5) Joe Testa, Positron Security

ORIGINAL ADVISORY:
MapServer:
http://lists.osgeo.org/pipermail/mapserver-users/2009-March/060600.html

Positron Security:
http://www.positronsecurity.com/advisories/2009-000.html

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close