CVE-2022-25377
Appwrite vulnerability
The ACME-challenge endpoint in Appwrite 0.5.0 through 0.12.x before 0.12.2 allows remote attackers to read arbitrary local files via ../ directory traversal. In order to be vulnerable, APP_STORAGE_CERTIFICATES/.well-known/acme-challenge must exist on disk. (This pathname is automatically created if the user chooses to install Let's Encrypt certificates via Appwrite.)
Affected products
Appwrite. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Appwrite runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/appwrite/appwrite/pull/2780 · Patch
- dubell.io/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1/ · Exploit
- github.com/appwrite/appwrite/blob/0.12.0/app/controllers/general.php#L539
- github.com/appwrite/appwrite/releases/tag/0.12.2
- nvd.nist.gov/vuln/detail/CVE-2022-25377
- dubell.io/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1
- github.com/appwrite/appwrite/commit/892f6fa4ba0d44e2435ffad1a84542400cfb7a9b
- github.com/advisories/GHSA-wfm3-gq9h-mrjm
- nvd.nist.gov/vuln/detail/CVE-2022-25377
- cve.org/CVERecord?id=CVE-2022-25377
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.