GHSA-xpv7-93cm-4mxv
img_auth.php may leak private extension images into the public cache
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | mediawiki/core | < 1.31.8 | 1.31.8 |
| Packagist | mediawiki/core | >= 1.32.0, < 1.33.4 | 1.33.4 |
| Packagist | mediawiki/core | >= 1.34.0, < 1.34.2 | 1.34.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2020-15005
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_31/RELEASE-NOTES-1.31
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_33/RELEASE-NOTES-1.33
- https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/REL1_34/RELEASE-NOTES-1.34
- https://github.com/wikimedia/mediawiki
- https://lists.debian.org/debian-lts-announce/2020/12/msg00034.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EEZIMLJMJS72SJXPYL736XMUAVCRQD2H
- https://lists.wikimedia.org/pipermail/wikitech-l/2020-June/093535.html
- https://phabricator.wikimedia.org/T248947
- https://www.debian.org/security/2020/dsa-4767