Vulnerability · Published Jan 12, 2023 · Assigned by mitre
CVE-2022-47927
Medium 5.5
In plain English
A medium-severity incorrect permission assignment in the mediawiki package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 20% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mediawiki | 1:1.39.1-1 | DEBIAN-CVE-2022-47927 |
| Debian:13 | mediawiki | 1:1.39.1-1 | DEBIAN-CVE-2022-47927 |
| Debian:14 | mediawiki | 1:1.39.1-1 | DEBIAN-CVE-2022-47927 |
Affected products (as reported)
Weakness: CWE-732 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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