Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767346 (CVE-2021-21275) - www-apps/mediawiki: CSRF vulnerability on Special:Report (CVE-2021-21275)
Summary: www-apps/mediawiki: CSRF vulnerability on Special:Report (CVE-2021-21275)
Status: RESOLVED INVALID
Alias: CVE-2021-21275
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://github.com/Kenny2github/Repor...
Whiteboard: B4 [upstream/ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-26 19:23 UTC by John Helmert III
Modified: 2021-01-26 19:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-01-26 19:23:31 UTC
CVE-2021-21275:

The MediaWiki "Report" extension has a Cross-Site Request Forgery (CSRF) vulnerability. Before fixed version, there was no protection against CSRF checks on Special:Report, so requests to report a revision could be forged.

The problem has been fixed in commit f828dc6 by making use of MediaWiki edit tokens.


Patch: https://github.com/Kenny2github/Report/commit/f828dc6f73cdfaea5639edbf8ac7b326eeefb117
It seems like the patch comes from the reporter's fork and this isn't merged
upstream (at least I can't find it in their repo).
Comment 1 Brian Evans (RETIRED) gentoo-dev 2021-01-26 19:31:03 UTC
I for one call this INVALID as a Gentoo bug since "Report" is a user download and not included with any version of MediaWiki packaged or otherwise.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-01-26 19:38:18 UTC
Makes sense to me, thanks!