Vulnerability Details : CVE-2022-25377
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.)
Vulnerability category: Directory traversal
Products affected by CVE-2022-25377
- cpe:2.3:a:appwrite:appwrite:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-25377
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 25 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-25377
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2024-08-21 |
CWE ids for CVE-2022-25377
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
References for CVE-2022-25377
-
https://github.com/appwrite/appwrite/blob/0.12.0/app/controllers/general.php#L539
appwrite/app/controllers/general.php at 0.12.0 · appwrite/appwrite · GitHubProduct
-
https://dubell.io/unauthenticated-lfi-in-appwrite-0.5.0-0.12.1/
dubell.io | Unauthenticated LFI in Appwrite 0.5.0 <= 0.12.1Exploit
-
https://github.com/appwrite/appwrite/pull/2780
[0.12] Added ACME validator by Meldiron · Pull Request #2780 · appwrite/appwrite · GitHubPatch
-
https://github.com/appwrite/appwrite/releases/tag/0.12.2
Release Version 0.12.2 · appwrite/appwrite · GitHubRelease Notes
Jump to