Appwrite CLI up to 2.x Login Command ~/.appwrite/prefs.json permission
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.3 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Appwrite CLI up to 2.x. Impacted is an unknown function of the file ~/.appwrite/prefs.json of the component Login Command. The manipulation leads to permission. This vulnerability is traded as CVE-2023-50974. An attack has to be approached locally. There is no exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability was found in Appwrite CLI up to 2.x and classified as problematic. This issue affects an unknown code of the file ~/.appwrite/prefs.json of the component Login Command. The manipulation with an unknown input leads to a permission vulnerability. Using CWE to declare the problem leads to CWE-275. Impacted is confidentiality. The summary by CVE is:
In Appwrite CLI before 3.0.0, when using the login command, the credentials of the Appwrite user are stored in a ~/.appwrite/prefs.json file with 0644 as UNIX permissions. Any user of the local system can access those credentials.
The weakness was shared 01/09/2024. It is possible to read the advisory at appwrite.io. The identification of this vulnerability is CVE-2023-50974 since 12/17/2023. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1222 according to MITRE ATT&CK.
By approaching the search of inurl:~/.appwrite/prefs.json it is possible to find vulnerable targets with Google Hacking.
Upgrading to version 3.0.0 eliminates this vulnerability.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.4VulDB Meta Temp Score: 4.3
VulDB Base Score: 3.3
VulDB Temp Score: 3.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.5
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: PermissionCWE: CWE-275 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
Google Hack: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: CLI 3.0.0
Timeline
12/17/2023 🔍01/09/2024 🔍
01/09/2024 🔍
06/17/2025 🔍
Sources
Advisory: appwrite.ioStatus: Confirmed
CVE: CVE-2023-50974 (🔍)
GCVE (CVE): GCVE-0-2023-50974
GCVE (VulDB): GCVE-100-250079
Entry
Created: 01/09/2024 10:42Updated: 06/17/2025 18:52
Changes: 01/09/2024 10:42 (41), 01/26/2024 08:36 (11), 06/17/2025 18:52 (16)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.