CVE-2018-0504: Mediawiki information disclosure vulnerability
6.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.81191%
CWE
Published
5/13/2022
Updated
5/15/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mediawiki/core | composer | >= 1.27.0, < 1.27.5 | 1.27.5 |
mediawiki/core | composer | >= 1.29.0, < 1.29.3 | 1.29.3 |
mediawiki/core | composer | >= 1.30.0, < 1.30.1 | 1.30.1 |
mediawiki/core | composer | >= 1.31.0, < 1.31.1 | 1.31.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper access control in log entry retrieval. Special:Redirect/logid's handler (SpecialRedirect::execute
) used log IDs without verifying if the entry was hidden via revision deletion. The Phabricator task T187638 shows the fix involved adding permission checks (LogEventsList::userCan
) and filtering deleted entries. LogEventsList::getLogEntryFromId
likely failed to enforce these checks pre-patch, while SpecialRedirect
's handler didn't validate()
visibility before redirecting.