wiki.techinc.nl/includes/logging
Dreamy Jazz 49907788ab SECURITY: Use ManualLogEntry::getDeleted in ::getRecentChange
CVE-2025-61639

Why:
* ManualLogEntry::getRecentChange creates the RecentChange object
  for the ManualLogEntry instance.
** This does not currently include the deleted flags set in the
   ManualLogEntry
** Without this, the RecentChange that is created will not be
   marked as deleted and published as public.
* Therefore, this means that any code which hides a log entry
  from the creation of the entry will cause a unintentionally
  public recent change entry.
** The AbuseFilter extension attempts to suppress the log entry
   for the block on it's creation, which therefore hits this
   security bug.

What:
* Update RecentChange::newLogEntry to accept a $deleted field
  which is set by default as 0 which is used as the value of
  rc_deleted.
* Update ManualLogEntry::getRecentChange to pass the value of
  ManualLogEntry::getDeleted to RecentChange::newLogEntry.
* Test that this fix worked.

Bug: T280413
Change-Id: I681a49ac7d7b22ffe259b976ad5315490dda467b
2025-10-02 19:38:49 +00:00
..
Hook
BlockLogFormatter.php Use namespaced classes 2024-10-21 20:41:20 +02:00
ContentModelLogFormatter.php Use namespaced classes 2024-10-21 20:41:20 +02:00
DatabaseLogEntry.php
DeleteLogFormatter.php Use namespaced classes 2024-10-21 20:41:20 +02:00
ImportLogFormatter.php
LegacyLogFormatter.php
LogEntry.php
LogEntryBase.php
LogEventsList.php Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00
LogFormatter.php Use namespaced classes 2024-10-21 20:41:20 +02:00
LogFormatterFactory.php Use namespaced classes 2024-10-21 20:41:20 +02:00
LoggingSelectQueryBuilder.php
LogPage.php Use namespaced classes 2024-10-21 20:41:20 +02:00
LogPager.php SECURITY: Fix log entry search revealing suppressed data to users with 'deletedhistory' rights 2025-04-10 15:56:06 +01:00
ManualLogEntry.php SECURITY: Use ManualLogEntry::getDeleted in ::getRecentChange 2025-10-02 19:38:49 +00:00
MergeLogFormatter.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
MoveLogFormatter.php MoveLogFormatter::getPreloadTitles: Handle bad titles 2024-07-18 11:49:33 +02:00
NewUsersLogFormatter.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
PageLangLogFormatter.php
PatrolLog.php logging: Use getPage() instead of getTitle() 2024-07-13 16:17:54 +02:00
PatrolLogFormatter.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
ProtectLogFormatter.php Use namespaced classes (2) 2024-06-16 20:23:55 +02:00
RCDatabaseLogEntry.php
RenameuserLogFormatter.php Merge "i18n: Use local digits for users rename log entry" 2024-07-19 21:51:42 +00:00
RightsLogFormatter.php Use namespaced classes 2024-10-21 20:41:20 +02:00
TagLogFormatter.php TagLogFormatter: Don't depend on Message implementation details 2024-06-25 20:37:39 +00:00
UploadLogFormatter.php
WikitextLogFormatter.php