wiki.techinc.nl/includes/recentchanges
Dreamy Jazz f7c717b09a SECURITY: Don't send suppressed recent changes to RCFeeds
CVE-2025-61643

Why:
* Some RecentChange objects being processed by
  RecentChangeRCFeedNotifier::notifyRCFeeds can be already
  deleted / suppressed
** This can happen for log entries which are deleted or suppressed
   when they are created such as described by T280413
* RecentChanges feeds are often not equipped to handle appropriate
  redaction of deleted or suppressed recent change entries
** Therefore, sending them suppressed recentchanges entries will
   likely publicly expose the suppressed information
* As a short-term fix we can stop sending any defined RCFeed
  instances RecentChange objects which are suppressed
** We may want to consider making RCFeeds capable of suppressing
   information before publishing the data, but that would need a
   more considered approach.

What:
* Update RecentChangeRCFeedNotifier::notifyRCFeeds to return early
  if the rc_deleted attribute on the provided RecentChange object
  isn't zero (0 means not deleted).
* Add a PHPUnit test to check for this

Bug: T403757
Change-Id: Ic5e553bab8e82e7faee323a46ed6704043c5163b
2025-10-02 19:38:49 +00:00
..
Hook
RCFeed objectcache: Move RedisConnRef.php to /libs/objectcache/ 2024-11-07 08:40:54 +00:00
CategoryMembershipChange.php recentchanges: Use current time for imported revision category changes 2024-10-23 11:43:34 +00:00
ChangesFeed.php recentchanges: Add missing documentation to class properties 2024-09-14 10:09:46 +02:00
ChangesList.php Remove a no longer needed workaround in watchlist page 2024-10-21 23:26:27 +00:00
ChangesListBooleanFilter.php
ChangesListBooleanFilterGroup.php
ChangesListFilter.php
ChangesListFilterGroup.php
ChangesListStringOptionsFilter.php
ChangesListStringOptionsFilterGroup.php
EnhancedChangesList.php Use HTML markup instead of bidi control chars in wiki changes 2024-10-04 00:27:00 +03:30
OldChangesList.php Use HTML markup instead of bidi control chars in wiki changes 2024-10-04 00:27:00 +03:30
RCCacheEntry.php
RCCacheEntryFactory.php
RecentChange.php SECURITY: Don't send suppressed recent changes to RCFeeds 2025-10-02 19:38:49 +00:00
RecentChangesUpdateJob.php