Vulnerability Name:

CVE-2021-30154 (CCN-199428)

Assigned:2021-03-20
Published:2021-03-20
Updated:2021-12-10
Summary:An issue was discovered in MediaWiki before 1.31.12 and 1.32.x through 1.35.x before 1.35.2. On Special:NewFiles, all the mediastatistics-header-* messages are output in HTML unescaped, leading to XSS.
CVSS v3 Severity:6.1 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
5.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
7.2 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
6.9 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:H/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.3 Medium (CVSS v2 Vector: AV:N/AC:M/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
6.4 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-79
Vulnerability Consequences:Cross-Site Scripting
References:Source: MITRE
Type: CNA
CVE-2021-30154

Source: XF
Type: UNKNOWN
mediawiki-cve202130154-xss(199428)

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-f4223b6684

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-d298103d3a

Source: CCN
Type: Phabricator T278014
CVE-2021-30154: Unescaped messages used in HTML on Special:NewFiles

Source: MISC
Type: Exploit, Issue Tracking, Patch, Vendor Advisory
https://phabricator.wikimedia.org/T278014

Source: GENTOO
Type: Third Party Advisory
GLSA-202107-40

Source: DEBIAN
Type: Third Party Advisory
DSA-4889

Source: CCN
Type: MediaWiki Web site
MediaWiki

Vulnerable Configuration:Configuration 1:
  • cpe:/a:mediawiki:mediawiki:*:*:*:*:*:*:*:* (Version < 1.31.12)
  • OR cpe:/a:mediawiki:mediawiki:*:*:*:*:*:*:*:* (Version >= 1.32.0 and < 1.35.2)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:mediawiki:mediawiki:1.35:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    mediawiki mediawiki *
    mediawiki mediawiki *
    debian debian linux 10.0
    fedoraproject fedora 33
    fedoraproject fedora 34
    mediawiki mediawiki 1.35