CVE-2023-27159: Appwrite/server ce Appwrite Server-Side Request Forgery Vulnerability Vulnerability
HIGHCVE-2023-27159 is a HIGH (CVSS 7.5) appwrite server-side request forgery vulnerability vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Appwrite/server ce libraries in the Packagist ecosystem. The issue involves appwrite server-side request forgery vulnerability. Remediation is available in the latest vendor maintenance releases.
CVE-2023-27159 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-27159
To remediate this vulnerability, upgrade all affected Appwrite/server ce dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade appwrite/server-ce to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for appwrite/server-ce
How to Check if You Are Affected
To determine whether your application is affected by CVE-2023-27159, inspect your project dependencies for Appwrite/server ce:
inspect dependencies for appwrite/server-ce
Analyze the terminal output to locate any version of Appwrite/server ce in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Appwrite/server ce, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-27159 Affected Appwrite/server ce Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
appwrite/server-ce
|
Packagist |
≤ 1.2.1
|
|
References
Frequently Asked Questions
What is CVE-2023-27159?
Which Appwrite/server ce versions are affected?
What version fixes CVE-2023-27159?
Is appwrite/server-ce affected?
What is the CVSS score of CVE-2023-27159?
What CWE is associated with CVE-2023-27159?
How can I check Packagist dependencies for CVE-2023-27159?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hxgx-584x-vwm8",
"modified" : "2023-04-10T16:42:16Z",
"published" : "2023-03-31T21:30:40Z",
"aliases" : [ "CVE-2023-27159" ],
"summary" : "Appwrite Server-Side Request Forgery vulnerability",
"details" : "Appwrite up to v1.2.1 was discovered to contain a Server-Side Request Forgery (SSRF) via the component `/v1/avatars/favicon`. This vulnerability allows attackers to access network resources and sensitive information via a crafted GET request.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "appwrite/server-ce"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-27159"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/b33t1e/43b26c31e895baf7e7aea2dbf9743a9a"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/b33t1e/e9e8192317c111e7897e04d2f9bf5fdb"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/appwrite/appwrite"
}, {
"type" : "WEB",
"url" : "https://notes.sjtu.edu.cn/gMNlpByZSDiwrl9uZyHTKA"
}, {
"type" : "WEB",
"url" : "http://appwrite.com"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-10T16:42:16Z",
"nvd_published_at" : "2023-03-31T19:15:00Z"
}
}