CVE-2020-15005: Mediawiki/core Img_auth.php May Leak Private Extension Vulnerability
MODERATECVE-2020-15005 is a MODERATE img_auth.php may leak private extension vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Mediawiki/core libraries in the Packagist ecosystem. The issue involves img_auth.php may leak private extension images into the public cache. Remediation is available by upgrading affected packages to version 1.31.8, 1.33.4, 1.34.2.
CVE-2020-15005 at a Glance
How to Fix CVE-2020-15005
To remediate this vulnerability, upgrade all affected Mediawiki/core 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/core to 1.31.8
Upgrade mediawiki/core to 1.33.4
Upgrade mediawiki/core to 1.34.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for mediawiki/core
How to Check if You Are Affected
To determine whether your application is affected by CVE-2020-15005, inspect your project dependencies for Mediawiki/core:
inspect dependencies for mediawiki/core
Analyze the terminal output to locate any version of Mediawiki/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.31.8), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Mediawiki/core, 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-2020-15005 Affected Mediawiki/core Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mediawiki/core
|
Packagist |
< 1.31.8
|
1.31.8
|
|
mediawiki/core
|
Packagist |
≥ 1.32.0
< 1.33.4
|
1.33.4
|
|
mediawiki/core
|
Packagist |
≥ 1.34.0
< 1.34.2
|
1.34.2
|
References
Frequently Asked Questions
What is CVE-2020-15005?
Which Mediawiki/core versions are affected?
What version fixes CVE-2020-15005?
Is mediawiki/core affected?
What CWE is associated with CVE-2020-15005?
How can I check Packagist dependencies for CVE-2020-15005?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-xpv7-93cm-4mxv",
"modified" : "2024-11-01T23:09:01Z",
"published" : "2022-05-24T17:21:40Z",
"aliases" : [ "CVE-2020-15005" ],
"summary" : "img_auth.php may leak private extension images into the public cache",
"details" : "In MediaWiki before 1.31.8, 1.32.x and 1.33.x before 1.33.4, and 1.34.x before 1.34.2, private wikis behind a caching server using the img_auth.php image authorization security feature may have had their files cached publicly, so any unauthorized user could view them. This occurs because Cache-Control and Vary headers were mishandled.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.31.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.32.0"
}, {
"fixed" : "1.33.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "mediawiki/core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.34.0"
}, {
"fixed" : "1.34.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-15005"
}, {
"type" : "WEB",
"url" : "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_31/RELEASE-NOTES-1.31"
}, {
"type" : "WEB",
"url" : "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_33/RELEASE-NOTES-1.33"
}, {
"type" : "WEB",
"url" : "https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_34/RELEASE-NOTES-1.34"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/wikimedia/mediawiki"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2020/12/msg00034.html"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EEZIMLJMJS72SJXPYL736XMUAVCRQD2H"
}, {
"type" : "WEB",
"url" : "https://lists.wikimedia.org/pipermail/wikitech-l/2020-June/093535.html"
}, {
"type" : "WEB",
"url" : "https://phabricator.wikimedia.org/T248947"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2020/dsa-4767"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-01T23:09:01Z",
"nvd_published_at" : "2020-06-24T23:15:00Z"
}
}