PT-2020-5805

CVE-2020-35479

·

Published

2020-11-29

·

Updated

2024-03-06

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: MediaWiki versions 1.12.0 through 1.35.0
Description: The issue is related to insufficient protection measures in the BlockLogFormatter.php component of MediaWiki, allowing a remote attacker to compromise data integrity. The problem lies in the Language::translateBlockExpiry function not escaping in all code paths, making the return of Language::userTimeAndDate unsafe for HTML, particularly in month values.
Recommendations: For MediaWiki versions 1.12.0 through 1.35.0, update to version 1.35.1 or later to resolve the issue. As a temporary workaround, consider disabling the Language::translateBlockExpiry function until a patch is available. Restrict access to the BlockLogFormatter.php component to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2020-3554
ALT-PU-2020-3568
BIT-MEDIAWIKI-2020-35479
DLA-2504-1
DSA-4816-1
MGASA-2021-0086
Found an issue in the description? Have something to add? Feel free to write us 👾