UMN MapServer up to 5.2.1 Error Message msLoadQuery queryfile input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.2$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in UMN MapServer up to 5.2.1. Affected by this vulnerability is the function msLoadQuery of the component Error Message Handler. This manipulation of the argument queryfile causes input validation. This vulnerability appears as CVE-2009-0843. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability has been found in UMN MapServer up to 5.2.1 and classified as critical. Affected by this vulnerability is the function msLoadQuery of the component Error Message Handler. The manipulation of the argument queryfile with an unknown input leads to a input validation vulnerability. The CWE definition for the vulnerability is CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. As an impact it is known to affect confidentiality. The summary by CVE is:

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.

The bug was discovered 03/26/2009. The weakness was presented 03/31/2009 (Website). It is possible to read the advisory at lists.osgeo.org. This vulnerability is known as CVE-2009-0843 since 03/06/2009. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 44779 (Debian DSA-1914-1 : mapserver - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 116355 (Fedora Update for mapserver (FEDORA-2009-3383,FEDORA-2009-3357)).

Upgrading to version 4.2 eliminates this vulnerability. A possible mitigation has been published 8 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (49551), Tenable (44779), SecurityFocus (BID 34306†), OSVDB (56333†) and Secunia (SA34520†). See VDB-47446, VDB-47445, VDB-47442 and VDB-47441 for similar entries. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 7.2

VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 44779
Nessus Name: Debian DSA-1914-1 : mapserver - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 66097
OpenVAS Name: Debian Security Advisory DSA 1914-1 (mapserver)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: MapServer 4.2

Timelineinfo

03/06/2009 🔍
03/26/2009 +20 days 🔍
03/26/2009 +0 days 🔍
03/30/2009 +4 days 🔍
03/30/2009 +0 days 🔍
03/31/2009 +1 days 🔍
03/31/2009 +0 days 🔍
03/31/2009 +0 days 🔍
04/06/2009 +6 days 🔍
10/22/2009 +199 days 🔍
02/24/2010 +125 days 🔍
03/17/2015 +1847 days 🔍
08/31/2019 +1628 days 🔍

Sourcesinfo

Advisory: lists.osgeo.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2009-0843 (🔍)
GCVE (CVE): GCVE-0-2009-0843
GCVE (VulDB): GCVE-100-47443

OVAL: 🔍

X-Force: 49551
SecurityFocus: 34306 - MapServer Multiple Security Vulnerabilities
Secunia: 34520 - MapServer Multiple Vulnerabilities, Moderately Critical
OSVDB: 56333 - CVE-2009-0843 - MapServer - Information Disclosure Issue
SecurityTracker: 1021952
Vulnerability Center: 21488 - MapServer 4-4.10.3 and 5-5.2.1 Mapserv Remote Disclosure of Directory Information, Medium

See also: 🔍

Entryinfo

Created: 03/17/2015 23:38
Updated: 08/31/2019 20:14
Changes: 03/17/2015 23:38 (88), 08/31/2019 20:14 (4)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!