CVE-2022-47927: SQL Injection

Published Jan 12, 2023
·
Updated

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 Software

6 affected components
MediaWiki<1.35.9
MediaWiki>=1.36.0<1.38.5
MediaWiki=1.39.0
MediaWiki=1.39.0-rc0
MediaWiki=1.39.0-rc1
fedoraproject fedora=37

Event History

Jan 12, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description

Frequently Asked Questions

1

What is CVE-2022-47927?

CVE-2022-47927 is a vulnerability discovered in MediaWiki before versions 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1.

2

What is the severity of CVE-2022-47927?

The severity of CVE-2022-47927 is rated as medium with a severity score of 5.5.

3

How does CVE-2022-47927 affect MediaWiki?

CVE-2022-47927 affects MediaWiki installations before versions 1.35.9, 1.36.x through 1.38.x before 1.38.5, and 1.39.x before 1.39.1.

4

How can I fix the vulnerability in MediaWiki?

To fix the vulnerability in MediaWiki, update to version 1.35.9, 1.38.5, or 1.39.1 depending on your installed version.

5

What are the references for CVE-2022-47927?

The references for CVE-2022-47927 are: [Reference 1](https://lists.debian.org/debian-lts-announce/2023/07/msg00011.html), [Reference 2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AP65YEN762IBNQPOYGUVLTQIDLM5XD2A/), [Reference 3](https://lists.wikimedia.org/hyperkitty/list/mediawiki-announce@lists.wikimedia.org/thread/UEMW64LVEH3BEXCJV43CVS6XPYURKWU3/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203