Page MenuHomePhabricator

CVE-2024-40603: Special:ChangeRating is vulnerable to CSRF
Closed, ResolvedPublicSecurity

Description

Special:ChangeRating can be used to change a page's rating, but the page has no token checking and on top of that, it does write queries on a GET request (!).

I'll fix this soon-ish together with a bunch of other "modernization"/cleanup patches to ARE...

Event Timeline

Bawolff changed the visibility from "Custom Policy" to "Public (No Login Required)".May 1 2024, 10:52 PM
Bawolff changed the edit policy from "Custom Policy" to "All Users".

Change #1051766 had a related patch set uploaded (by Mmartorana; author: Jack Phoenix):

[mediawiki/extensions/ArticleRatings@REL1_41] [SECURITY] Fix CSRF in Special:ChangeRating

https://gerrit.wikimedia.org/r/1051766

Change #1051767 had a related patch set uploaded (by Mmartorana; author: Jack Phoenix):

[mediawiki/extensions/ArticleRatings@REL1_42] [SECURITY] Fix CSRF in Special:ChangeRating

https://gerrit.wikimedia.org/r/1051767

Change #1051768 had a related patch set uploaded (by Mmartorana; author: Jack Phoenix):

[mediawiki/extensions/ArticleRatings@REL1_40] [SECURITY] Fix CSRF in Special:ChangeRating

https://gerrit.wikimedia.org/r/1051768

Change #1051768 abandoned by Umherirrender:

[mediawiki/extensions/ArticleRatings@REL1_40] [SECURITY] Fix CSRF in Special:ChangeRating

Reason:

REL1_40 is end of life

https://gerrit.wikimedia.org/r/1051768

Change #1051767 merged by Umherirrender:

[mediawiki/extensions/ArticleRatings@REL1_42] [SECURITY] Fix CSRF in Special:ChangeRating

https://gerrit.wikimedia.org/r/1051767

Change #1051766 merged by jenkins-bot:

[mediawiki/extensions/ArticleRatings@REL1_41] [SECURITY] Fix CSRF in Special:ChangeRating

https://gerrit.wikimedia.org/r/1051766

mmartorana renamed this task from Special:ChangeRating is vulnerable to CSRF to CVE-2024-40603: Special:ChangeRating is vulnerable to CSRF.Jul 8 2024, 5:38 PM