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
MoveLogFormatter.php
NewUsersLogFormatter.php
PageLangLogFormatter.php
PatrolLog.php
PatrolLogFormatter.php
ProtectLogFormatter.php
RCDatabaseLogEntry.php
RenameuserLogFormatter.php
RightsLogFormatter.php Use namespaced classes 2024-10-21 20:41:20 +02:00
TagLogFormatter.php
UploadLogFormatter.php
WikitextLogFormatter.php