Debian dla-4935 : cgi-mapserver - security update

medium Nessus Plugin ID 386779

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-4935 advisory.

- ------------------------------------------------------------------------- Debian LTS Advisory DLA-4935-1 [email protected] https://www.debian.org/lts/security/ Abhijith PA November 25, 2026 https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package : mapserver Version : 8.0.0-3+deb12u2 CVE ID : CVE-2026-42030 CVE-2026-45104 CVE-2026-54355 CVE-2026-77323 CVE-2026-77324 CVE-2026-77325 CVE-2026-77326 CVE-2026-77327 CVE-2026-77328

Several vulnerabilities were discovered in mapserver, a CGI-based framework for Internet map services

CVE-2026-42030

reflected XSS vulnerability in MapServer's WMS server allows an unauthenticated attacker to inject arbitrary HTML/JavaScript into the browser of any user who opens a crafted WMS URL. The vulnerability is triggered via FORMAT=application/openlayers combined with an unsanitized SRS parameter

CVE-2026-45104

NULL pointer dereference in SLD `<ElseFilter>` rule parsing reachable via WMS `SLD_BODY`

CVE-2026-54355

Reflected XSS in OpenLayers HTML Output via `HTTP_X_FORWARDED_HOST`

CVE-2026-77323

Reflected XSS via unescaped offset/limit query params injected into <script> in OGC API Features HTML output

CVE-2026-77324

WCS POST: NULL-Dereference Denial of Service When `BoundingBox` Omits `crs`

CVE-2026-77325

Reflected XSS in WMS OpenLayers output via the `X-Forwarded-Host` header

CVE-2026-77326

Heap buffer overflow in WMS GetLegendGraphic via repeated LAYER parameters

CVE-2026-77327

MySQL JOIN second-order SQL injection in src/mapjoin.c

CVE-2026-77328

PostgreSQL JOIN second-order SQL injection in src/mappostgresql.c

For Debian 12 bookworm, these problems have been fixed in version 8.0.0-3+deb12u2.

We recommend that you upgrade your mapserver packages.

For the detailed security status of mapserver please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/mapserver

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the cgi-mapserver packages.

See Also

https://packages.debian.org/source/bookworm/mapserver

https://security-tracker.debian.org/tracker/CVE-2026-42030

https://security-tracker.debian.org/tracker/CVE-2026-45104

https://security-tracker.debian.org/tracker/CVE-2026-54355

https://security-tracker.debian.org/tracker/CVE-2026-77323

https://security-tracker.debian.org/tracker/CVE-2026-77324

https://security-tracker.debian.org/tracker/CVE-2026-77325

https://security-tracker.debian.org/tracker/CVE-2026-77326

https://security-tracker.debian.org/tracker/CVE-2026-77327

https://security-tracker.debian.org/tracker/CVE-2026-77328

https://security-tracker.debian.org/tracker/source-package/mapserver

Plugin Details

Severity: Medium

ID: 386779

File Name: debian_DLA-4935.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 11/26/2026

Updated: 11/26/2026

Supported Sensors: Continuous Assessment, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.9

Percentile: 52.67

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-42030

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2026-77326

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 5.5

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

CVSS Score Source: CVE-2026-77328

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:12.0, p-cpe:/a:debian:debian_linux:cgi-mapserver, p-cpe:/a:debian:debian_linux:libmapscript-java, p-cpe:/a:debian:debian_linux:libmapscript-perl, p-cpe:/a:debian:debian_linux:libmapserver-dev, p-cpe:/a:debian:debian_linux:libmapserver2, p-cpe:/a:debian:debian_linux:mapserver-bin, p-cpe:/a:debian:debian_linux:mapserver-doc, p-cpe:/a:debian:debian_linux:php-mapscript-ng, p-cpe:/a:debian:debian_linux:python3-mapscript

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/25/2026

Vulnerability Publication Date: 5/8/2026

Reference Information

CVE: CVE-2026-42030, CVE-2026-45104, CVE-2026-54355, CVE-2026-77323, CVE-2026-77324, CVE-2026-77325, CVE-2026-77326, CVE-2026-77327, CVE-2026-77328