EXPOSURES › CVE-2025-59431
CVE-2025-59431
CRITICALMapServer versions prior to 8.4.1 are vulnerable to SQL injection via the XML Filter Query directive PropertyName, allowing attackers to manipulate backend database queries.
This SQL injection flaw in MapServer enables attackers to bypass expression checking and execute arbitrary database commands, risking data exfiltration or integrity loss in GIS applications. DIB organizations must ensure MapServer is patched to version 8.4.1 or higher to prevent unauthorized database manipulation and potential data breaches.
Shame score — The vulnerability allows direct manipulation of backend database queries through a simple input bypass, indicating a significant flaw in input validation that could lead to data exposure.
▸ RECOMMENDED ACTION Critical severity — schedule patching of the affected products.
MapServer is a system for developing web-based GIS applications. Prior to 8.4.1, the XML Filter Query directive PropertyName is vulnerably to Boolean-based SQL injection. It seems like expression checking is bypassed by introducing double quote characters in the PropertyName. Allowing to manipulate backend database queries. This vulnerability is fixed in 8.4.1.