CVE-2023-50974: Apprite CLI makes Use of Hard-coded Credentials
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.
Published Jan 9, 2024 · Updated Sep 13, 2024
Affected packages
appwrite-cli
- Ecosystem
- npm
- Affected
- < 3.0.0
- Fixed in
- 3.0.0
- Check
npm ls appwrite-cli
appwrite
- Ecosystem
- PyPI
- Affected
- >= 0, < 3.0.0
- Fixed in
- 3.0.0
- Check
pip show appwrite
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-50974
- https://appwrite.io/docs/tooling/command-line/installation
- https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1d
- https://github.com/pypa/advisory-database/tree/main/vulns/appwrite/PYSEC-2024-2.yaml
- https://github.com/advisories/GHSA-g777-crp9-m27g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
