Debian DSA-5520-1 : mediawiki - security update

high Nessus Plugin ID 182866

Synopsis

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

Description

The remote Debian 11 / 12 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5520 advisory.

- Mediawiki v1.40.0 does not validate namespaces used in XML files. Therefore, if the instance administrator allows XML file uploads, a remote attacker with a low-privileged user account can use this exploit to become an administrator by sending a malicious link to the instance administrator. (CVE-2023-3550)

- An issue was discovered in ApiPageSet.php in MediaWiki before 1.35.12, 1.36.x through 1.39.x before 1.39.5, and 1.40.x before 1.40.1. It allows attackers to cause a denial of service (unbounded loop and RequestTimeoutException) when querying pages redirected to other variants with redirects and converttitles set. (CVE-2023-45363)

- An issue was discovered in includes/page/Article.php in MediaWiki 1.36.x through 1.39.x before 1.39.5 and 1.40.x before 1.40.1. Deleted revision existence is leaked due to incorrect permissions being checked.
This reveals that a given revision ID belonged to the given page title, and its timestamp, both of which are not supposed to be public information. (CVE-2023-45364)

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 mediawiki packages.

For the stable distribution (bookworm), these problems have been fixed in version 1

See Also

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

https://www.debian.org/security/2023/dsa-5520

https://security-tracker.debian.org/tracker/CVE-2023-3550

https://security-tracker.debian.org/tracker/CVE-2023-45359

https://security-tracker.debian.org/tracker/CVE-2023-45360

https://security-tracker.debian.org/tracker/CVE-2023-45361

https://security-tracker.debian.org/tracker/CVE-2023-45362

https://security-tracker.debian.org/tracker/CVE-2023-45363

https://security-tracker.debian.org/tracker/CVE-2023-45364

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

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

Plugin Details

Severity: High

ID: 182866

File Name: debian_DSA-5520.nasl

Version: 1.4

Type: local

Agent: unix

Published: 10/10/2023

Updated: 12/22/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-3550

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.6

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:mediawiki, p-cpe:/a:debian:debian_linux:mediawiki-classes, cpe:/o:debian:debian_linux:11.0, cpe:/o:debian:debian_linux:12.0

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: 10/10/2023

Vulnerability Publication Date: 9/25/2023

Reference Information

CVE: CVE-2023-3550, CVE-2023-45359, CVE-2023-45360, CVE-2023-45361, CVE-2023-45362, CVE-2023-45363, CVE-2023-45364