CVE-2024-47913
NoneCVSS
—
EPSS
0.5%
Published
Oct 4, 2024
CISA due date
—
Cloudanix analysis
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
- Obtain API credentials or unauthenticated access to the MediaWiki instance
- Identify the AbuseFilter extension endpoint
- Submit an API request that references a protected filter condition against logs
- 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
- CVE-2023-45361 An issue was discovered in VectorComponentUserLinks.php in the Vector Skin component in… Also affects mediawiki
- CVE-2023-45359 An issue was discovered in the Vector Skin component for MediaWiki before 1.39.5 and… Also affects mediawiki
- CVE-2024-34507 An issue was discovered in includes/CommentFormatter/CommentParser.php in MediaWiki… Also affects mediawiki
- CVE-2024-34506 An issue was discovered in includes/specials/SpecialMovePage.php in MediaWiki before… Also affects mediawiki
- CVE-2014-1610 MediaWiki 1.22.x before 1.22.2, 1.21.x before 1.21.5, and 1.19.x before 1.19.11, when… Also affects mediawiki
- CVE-2008-0460 Cross-site scripting (XSS) vulnerability in api.php in (1) MediaWiki 1.11 through… Also affects mediawiki
- CVE-2022-29969 The RSS extension before 2022-04-29 for MediaWiki allows XSS via an rss element (if the… Also affects mediawiki