Local credential disclosure via world-readable SQLite files
Published Jan 12, 2023 · Updated Apr 8, 2025
Information disclosure in MediaWiki before 1.35.9, 1.36.0 through 1.38.4, and 1.39.0 allows local users to read private SQLite data. The SQLite installer creates database files with mode 0644 instead of 0600 when the selected data directory already exists with lax permissions. Local access to a shared host and an SQLite installation in such a directory exposes password hashes, session data, and other private database contents.
Summary
What happened
Information disclosure in MediaWiki before 1.35.9, 1.36.0 through 1.38.4, and 1.39.0 allows local users to read private SQLite data. The SQLite installer creates database files with mode 0644 instead of 0600 when the selected data directory already exists with lax permissions. Local access to a shared host and an SQLite installation in such a directory exposes password hashes, session data, and other private database contents.
The record
- CVE
- CVE-2022-47927
- Published
- Jan 12, 2023
- Updated
- Apr 8, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-732, T1005
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 12, 2023CVE publishedPublication date reported by the CVE source.
- Apr 8, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream SQLite permission reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo