Cloudanix VulnDB

CVE-2024-47913

None

CVSS

—

EPSS

0.5%

Published

Oct 4, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the wiki abuse filter tool lets some users peek at restricted log details through the API that they should not be allowed to see.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

An API caller can evaluate filter conditions against AbuseFilter logs without authorization to view the underlying log details, bypassing intended access controls on log data.

Why it matters to the business

Attackers may obtain unauthorized visibility into abuse detection rules and historical log matches, increasing the risk of targeted evasion or data exposure in wiki environments.

How an attack unfolds

An attacker with API access crafts a query that references AbuseFilter log conditions; the server evaluates the match without enforcing view permissions on the log entries, returning partial results that leak filter logic or activity.

How to fix it

Upgrade MediaWiki AbuseFilter to versions 1.39.9, 1.41.3, 1.42.2 or later; apply the commit 35e6747afdebbf565d03bfc261c547a9cbad6e70 for git deployments. The unrelated gofiber template component should be updated to 3.1.9 if present.

How to confirm the fix worked

Confirm the installed MediaWiki and AbuseFilter version against the fixed releases, then attempt an API query referencing a restricted filter to verify that authorization checks now block unauthorized log matching.

Typical attack path

  1. Obtain API credentials or unauthenticated access to the MediaWiki instance
  2. Identify the AbuseFilter extension endpoint
  3. Submit an API request that references a protected filter condition against logs
  4. Receive match results that disclose information normally restricted by view permissions

How to detect it

Review MediaWiki API request logs for AbuseFilter actions that reference filter conditions; look for queries succeeding where view permissions should have denied access.

What your security team should do

  • Prioritize upgrade of the AbuseFilter extension within the next maintenance window due to the authorization bypass
  • Audit API access logs for AbuseFilter endpoints to establish a baseline of normal queries
  • Review filter visibility settings and restrict API permissions to the minimum required roles

The record

An issue was discovered in the AbuseFilter extension for MediaWiki before 1.39.9, 1.40.x and 1.41.x before 1.41.3, and 1.42.x before 1.42.2. An API caller can match a filter condition against AbuseFilter logs even if the caller is not authorized to view the log details for the filter.

Affected packages

Ecosystem Package Introduced Fixed
Packagist mediawiki/abuse-filter 0 1.39.9
Packagist mediawiki/abuse-filter 1.40.0 1.41.3
Packagist mediawiki/abuse-filter 1.42.0 1.42.2
Debian:12 mediawiki 0 1:1.39.10-1~deb12u1
Debian:13 mediawiki 0 1:1.39.10-1
Ubuntu:18.04:LTS mediawiki 0 No fix
Ubuntu:20.04:LTS mediawiki 0 No fix
Ubuntu:22.04:LTS mediawiki 0 No fix
Ubuntu:24.04:LTS mediawiki 0 No fix
Ubuntu:24.10 mediawiki 0 No fix
Ubuntu:25.04 mediawiki 0 No fix
Ubuntu:25.10 mediawiki 0 No fix
Ubuntu:Pro:18.04:LTS mediawiki 0 No fix
Ubuntu:Pro:20.04:LTS mediawiki 0 No fix
packagist mediawiki/abuse-filter 1.40.0 1.41.3
packagist mediawiki/abuse-filter 1.42.0 1.42.2

Related vulnerabilities