SecurityContext

CVE-2023-50974: Appwrite CLI - Credentials Storage Exposure

  • Cve: CVE-2023-50974
  • Name: Appwrite CLI - Credentials Storage Exposure
  • Description: 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.
  • Impact: Any local user can access and misuse stored credentials, leading to potential account compromise.
  • Remediation: Update to version 3.0.0 or later, and change file permissions to restrict access.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00293
  • Epss percentile: 0.22002
  • Assignee: [email protected]
  • Published at: 2024-01-09T09:15:42Z
  • Age in days: 1050
  • Modified at: 2026-06-17T06:40:20Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-50974
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-798Use of Hard-coded Credentials

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1dnvd2024-01-09

References

UrlSourceTags
https://gist.github.com/SkypLabs/72ee00ecfa7d1a3494e2d69a24279c1dnvdExploit, Third Party Advisory
https://appwrite.io/docs/tooling/command-line/installationnvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
appwrite:command_line_interface< 3.0.0nonvd/v1/products/appwrite/command_line_interface

Projects

RepositoryLink kindsIndexedUrl
appwrite/sdk-for-clipackageyes/v1/repositories/appwrite/sdk-for-cli

Index

  • Repositories: 1
  • Checked, none or zero: repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-01-09
  • Authentication required: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts