MapServer: WCS POST: NULL-Dereference Denial of Service When `BoundingBox` Omits `crs`
MapServer
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| MapServer MapServer |
| No fix yet |
Original description
MapServer is a system for developing web-based GIS applications. From 4.4.0 until 8.6.5, an unauthenticated remote attacker can send a WCS GetCoverage XML POST request whose BoundingBox element omits the crs attribute, causing xmlGetProp() in src/mapwcs.cpp to return null. msWCSParseRequest() then calls string functions on the null value before normal WCS exception handling, crashing the CGI or FastCGI worker. The analogous KVP or GET path is not affected because it obtains a count-validated, non-null token. A single request can terminate one worker, and repeated requests can exhaust a fixed worker pool and deny service. This issue is fixed in version 8.6.5.
From the CVE record · GitHub_M