MediaWiki < 1.35.2 Oauth Overlength Rsa Key

critical Web App Scanning Plugin ID 113995

Synopsis

MediaWiki < 1.35.2 Oauth Overlength Rsa Key

Description

According to its self-reported version number, the instance of MediaWiki hosted on the remote web server is prior to 1.35.2. It is, therefore, affected by a vulnerability in the Oauth MWOAuthConsumerSubmitContro.php page which does not ensure that the length of supplied RSA key will fit in a MySQL blob.

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

Solution

Upgrade to MediaWiki version 1.35.2 or later.

See Also

https://gerrit.wikimedia.org/r/q/I13ff0350a9a0a3cd5ab3e1f82dd0d8d9c13cf9e9

Plugin Details

Severity: Critical

ID: 113995

Type: remote

Published: 8/7/2023

Updated: 8/9/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2021-31556

CVSS v3

Risk Factor: Critical

Base Score: 9.8

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

CVSS Score Source: CVE-2021-31556

Vulnerability Information

CPE: cpe:2.3:a:mediawiki:mediawiki:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 11/28/2021

Vulnerability Publication Date: 8/12/2021

Reference Information

CVE: CVE-2021-31556