Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264563 - <sci-geosciences/mapserver-5.4.2 Multiple vulnerabilities (CVE-2009-{0839,0840,0841,0842,0843,1176,1177,2281})
Summary: <sci-geosciences/mapserver-5.4.2 Multiple vulnerabilities (CVE-2009-{0839,084...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Security
URL: http://trac.osgeo.org/mapserver/ticke...
Whiteboard: ~2 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 23:09 UTC by Robert Buchholz (RETIRED)
Modified: 2009-10-26 20:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Buchholz (RETIRED) gentoo-dev 2009-04-01 23:09:07 UTC
CVE-2009-0839 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0839):
  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.
Comment 1 Robert Buchholz (RETIRED) gentoo-dev 2009-04-01 23:16:19 UTC
CVE-2009-0840 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0840):
  Heap-based buffer underflow in the readPostBody function in cgiutil.c
  in mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows
  remote attackers to have an unknown impact via a negative value in
  the Content-Length HTTP header.

CVE-2009-0841 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0841):
  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.

CVE-2009-0842 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0842):
  mapserv in MapServer 4.x before 4.10.4 and 5.x before 5.2.2 allows
  remote attackers to read arbitrary invalid .map files via a full
  pathname in the map parameter, which triggers the display of partial
  file contents within an error message, as demonstrated by a
  /tmp/sekrut.map symlink.

CVE-2009-0843 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0843):
  The msLoadQuery function in mapserv in MapServer 4.x before 4.10.4
  and 5.x before 5.2.2 allows remote attackers to determine the
  existence of arbitrary files via a full pathname in the queryfile
  parameter, which triggers different error messages depending on
  whether this pathname exists.

Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2009-04-01 23:37:59 UTC
CVE-2009-1176 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-1176):
  mapserv.c in mapserv in MapServer 4.x before 4.10.4 and 5.x before
  5.2.2 does not ensure that the string holding the id parameter ends
  in a '\0' character, which allows remote attackers to conduct
  buffer-overflow attacks or have unspecified other impact via a long
  id parameter in a query action.

CVE-2009-1177 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-1177):
  Multiple stack-based buffer overflows in maptemplate.c in mapserv in
  MapServer 4.x before 4.10.4 and 5.x before 5.2.2 have unknown impact
  and remote attack vectors.

Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-08-13 16:01:26 UTC
Ebuild was already bumped by mescalinum for bug 250029.
I removed the vulnerable versions and cleaned up files/
Closing noglsa.
Comment 4 Tobias Heinlein (RETIRED) gentoo-dev 2009-10-26 20:55:33 UTC
CVE-2009-2281 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-2281):
  Multiple heap-based buffer underflows in the readPostBody function in
  cgiutil.c in mapserv in MapServer 4.x through 4.10.4 and 5.x before
  5.4.2 allow remote attackers to execute arbitrary code via (1) a
  crafted Content-Length HTTP header or (2) a large HTTP request,
  related to an integer overflow that triggers a heap-based buffer
  overflow.  NOTE: this issue reportedly exists because of an
  incomplete fix for CVE-2009-0840.