CVE-2024-47913: Mediawiki/abuse filter Improper Permissions Handling Vulnerability
MODERATECVE-2024-47913 is a MODERATE (CVSS 5.3) improper permissions handling vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Mediawiki/abuse filter libraries in the Packagist ecosystem. The issue involves improper permissions handling in mediawiki abusefilter. Remediation is available by upgrading affected packages to version 1.39.9, 1.41.3, 1.42.2.
CVE-2024-47913 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-47913
To remediate this vulnerability, upgrade all affected Mediawiki/abuse filter dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade mediawiki/abuse-filter to 1.39.9
Upgrade mediawiki/abuse-filter to 1.41.3
Upgrade mediawiki/abuse-filter to 1.42.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mediawiki/abuse-filter
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-47913, inspect your project dependencies for Mediawiki/abuse filter:
inspect dependencies for mediawiki/abuse-filter
Analyze the terminal output to locate any version of Mediawiki/abuse filter in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.39.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Mediawiki/abuse filter, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-47913 Affected Mediawiki/abuse filter Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mediawiki/abuse-filter
|
Packagist |
< 1.39.9
|
1.39.9
|
|
mediawiki/abuse-filter
|
Packagist |
≥ 1.40.0
< 1.41.3
|
1.41.3
|
|
mediawiki/abuse-filter
|
Packagist |
≥ 1.42.0
< 1.42.2
|
1.42.2
|
References
Frequently Asked Questions
What is CVE-2024-47913?
Which Mediawiki/abuse filter versions are affected?
What version fixes CVE-2024-47913?
Is mediawiki/abuse-filter affected?
What is the CVSS score of CVE-2024-47913?
What CWE is associated with CVE-2024-47913?
How can I check Packagist dependencies for CVE-2024-47913?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rmcp-9fhq-58pv",
"modified" : "2024-12-06T22:11:48Z",
"published" : "2024-10-05T00:34:19Z",
"aliases" : [ "CVE-2024-47913" ],
"summary" : "Improper permissions handling in MediaWiki AbuseFilter",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/abuse-filter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.39.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/abuse-filter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.40.0"
}, {
"fixed" : "1.41.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/abuse-filter"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.42.0"
}, {
"fixed" : "1.42.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-47913"
}, {
"type" : "WEB",
"url" : "https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/1076855"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wikimedia/mediawiki-extensions-AbuseFilter"
}, {
"type" : "WEB",
"url" : "https://phabricator.wikimedia.org/T372998"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-12-06T22:11:48Z",
"nvd_published_at" : "2024-10-04T22:15:02Z"
}
}