VYPR
Moderate severityNVD Advisory· Published Jun 24, 2020· Updated Aug 4, 2024

CVE-2020-15005

CVE-2020-15005

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

MediaWiki private wikis behind a caching server leaked files via img_auth.php due to improper Cache-Control and Vary headers, allowing unauthorized access.

Vulnerability

Details

MediaWiki private wikis that use a caching server in front of img_auth.php for image authorization had a flaw in the handling of HTTP cache headers. The Cache-Control and Vary headers were not set correctly, allowing the caching server to store and serve private files to unauthorized users [3][4].

Exploitation

An attacker can exploit this by simply requesting a private image URL that goes through the caching server. If the caching server caches the response without proper authentication checks, the attacker receives the file even without valid credentials. No authentication is required; the vulnerability is triggered by the misconfiguration of cache headers.

Impact

Unauthenticated users can view any file protected by img_auth.php, including private images and other media that should only be accessible to authorized wiki users. This can lead to exposure of sensitive information.

Mitigation

The issue is fixed in MediaWiki 1.31.8, 1.33.4, and 1.34.2. Administrators should update their installations. Workarounds include ensuring the caching server does not cache responses from img_auth.php [3][4].

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
mediawiki/corePackagist
< 1.31.81.31.8
mediawiki/corePackagist
>= 1.32.0, < 1.33.41.33.4
mediawiki/corePackagist
>= 1.34.0, < 1.34.21.34.2

Affected products

3

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

11

News mentions

0

No linked articles in our index yet.