Debian dla-4506 : cgi-mapserver - security update

critical Nessus Plugin ID 303344

Synopsis

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

Description

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

------------------------------------------------------------------------- Debian LTS Advisory DLA-4506-1 [email protected] https://www.debian.org/lts/security/ Guilhem Moulin March 23, 2026 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : mapserver Version : 7.6.2-1+deb11u1 CVE ID : CVE-2021-32062 CVE-2025-59431 Debian Bug : 988208

Vulnerabilities were found in mapserver, a CGI-based framework for Internet map services, which could lead to security controls bypass or SQL injection.

CVE-2021-32062

Due to a logic flaw associated with processing map parameter, it is possible to specify an arbitrary mapfile that bypasses the `MS_MAP_NO_PATH` and `MS_MAP_PATTERN` security control checks.

CVE-2025-59431

Alwin Warringa discovered that XML Filter Query directive `PropertyName` is vulnerably to Boolean-based SQL injection, allowing to manipulate backend database queries via crafted XML Filter Query directives.

For Debian 11 bullseye, these problems have been fixed in version 7.6.2-1+deb11u1.

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 Attachment:
signature.asc Description: PGP signature

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://security-tracker.debian.org/tracker/CVE-2021-32062

https://security-tracker.debian.org/tracker/CVE-2025-59431

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

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

Plugin Details

Severity: Critical

ID: 303344

File Name: debian_DLA-4506.nasl

Version: 1.1

Type: local

Agent: unix

Published: 3/23/2026

Updated: 3/23/2026

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

CVSS Score Source: CVE-2021-32062

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS Score Source: CVE-2025-59431

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.9

Threat Vector: CVSS:4.0/E:P

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

CVSS Score Source: CVE-2025-59431

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libmapscript-perl, p-cpe:/a:debian:debian_linux:cgi-mapserver, cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libmapscript-java, p-cpe:/a:debian:debian_linux:libmapserver2, p-cpe:/a:debian:debian_linux:mapserver-bin, p-cpe:/a:debian:debian_linux:php-mapscript-ng, p-cpe:/a:debian:debian_linux:python3-mapscript, p-cpe:/a:debian:debian_linux:libmapserver-dev, p-cpe:/a:debian:debian_linux:mapserver-doc, p-cpe:/a:debian:debian_linux:php-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: 3/23/2026

Vulnerability Publication Date: 5/5/2021

Reference Information

CVE: CVE-2021-32062, CVE-2025-59431