Insecure Permissions Affecting mediawiki/core package, versions <1.40.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-MEDIAWIKICORE-3228720
  • published12 Jan 2023
  • disclosed12 Jan 2023
  • creditUnknown

Introduced: 12 Jan 2023

CVE-2022-47927  (opens in a new tab)
CWE-275  (opens in a new tab)

How to fix?

Upgrade mediawiki/core to version 1.40.0 or higher.

Overview

mediawiki/core is a Free software wiki application developed by the Wikimedia Foundation and others.

Note: This package is not maintained on Packagist anymore, but newer releases exist.

Affected versions of this package are vulnerable to Insecure Permissions such that 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. This allows anyone on the system to read the DB contents, including password hashes, session information, IP addresses (if checkuser installed), (unencrypted) 2FA codes, user preferences, deleted pages, and any other private data in the DB.

CVSS Scores

version 3.1