Description
An issue was discovered in MediaWiki before 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1. When installing with a pre-existing data directory that has weak permissions, the SQLite files are created with file mode 0644, i.e., world readable to local users. These files include credentials data.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | mediawiki | 1:1.39.1-1 | — |
| Debian 13 | mediawiki | 1:1.39.1-1 | — |
| Debian 12 | mediawiki | 1:1.39.1-1 | — |
| Debian 10 | mediawiki | 1:1.31.16-1+deb10u5 | DLA-3489-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | mediawiki | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | mediawiki | No fix yet | — |
| Ubuntu Pro 20.04 LTS | mediawiki | No fix yet | — |
Advisories 2
- DLA-3489-1 mediawiki - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2022-2394 MediaWiki: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jul 10, 2023
References
- https://phabricator.wikimedia.org/T322637
- https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce%40lists.wikimedia.org/thread/UEMW64LVEH3BEXCJV43CVS6XPYURKWU3/
- FEDORA-2023-30a7a812f0 vendor-advisory
- GLSA-202305-24 vendor-advisory
- [debian-lts-announce] 20230710 [SECURITY] [DLA 3489-1] mediawiki security update mailing-list