Debian DSA-5447-1 : mediawiki - security update

critical Nessus Plugin ID 178014

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-5447 advisory.

- An issue was discovered in MediaWiki before 1.35.10, 1.36.x through 1.38.x before 1.38.6, and 1.39.x before 1.39.3. An auto-block can occur for an untrusted X-Forwarded-For header. (CVE-2023-29141)

- An issue was discovered in MediaWiki before 1.35.11, 1.36.x through 1.38.x before 1.38.7, and 1.39.x before 1.39.4. BlockLogFormatter.php in BlockLogFormatter allows XSS in the partial blocks feature.
(CVE-2023-36675)

- Mediawiki reports: (T335203, CVE-2023-29197) Upgrade guzzlehttp/psr7 to >= 1.9.1/2.4.5. (T335612, CVE-2023-36674) Manualthumb bypasses badFile lookup. (T332889, CVE-2023-36675) XSS in BlockLogFormatter due to unsafe message use. (CVE-2023-36674)

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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039075

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

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

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

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

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

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

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

Plugin Details

Severity: Critical

ID: 178014

File Name: debian_DSA-5447.nasl

Version: 1.0

Type: local

Agent: unix

Published: 7/6/2023

Updated: 7/6/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2023-29141

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

Vulnerability Information

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

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

Vulnerability Publication Date: 3/31/2023

Reference Information

CVE: CVE-2023-29141, CVE-2023-36674, CVE-2023-36675