CVE Catalog

CVE-2009-1176

High
Published: Translated: NVD NIST

Summary

The mapserv.c function 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 with a null character ('\0'). This allows remote attackers to conduct buffer-overflow attacks or have unspecified other impact via a long id parameter in a query action.

Risk Assessment

An attacker can remotely cause server crashes, arbitrary code execution, or other unexpected behavior, potentially leading to compromise of confidentiality, integrity, or availability.

Recommendation

Immediately upgrade MapServer to version 4.10.4 or later (for 4.x branch) or 5.2.2 or later (for 5.x branch). If upgrading is not possible, implement filtering rules on firewalls or IDS/IPS systems to block overly long id parameters in requests.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS