---------------------------------------------------------------------- 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. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------