CVE-2022-38638: Casdoor - Unrestricted File Upload
- Cve: CVE-2022-38638
- Name: Casdoor - Unrestricted File Upload
- Description: Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource.
- Impact: Attackers can write files to arbitrary locations on the server, potentially leading to remote code execution or system compromise.
- Remediation: Update to the latest version of Casdoor that addresses this vulnerability or apply security patches to sanitize fullFilePath parameter.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.01253
- Epss percentile: 0.70216
- Assignee: [email protected]
- Published at: 2022-09-09T20:15:11Z
- Age in days: 1537
- Modified at: 2026-06-17T04:56:55Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-38638
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/casdoor/casdoor/issues/1035 | nvd | 2022-09-09 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/casdoor/casdoor/issues/1035 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| casbin:casdoor | = 1.97.3 | no | nvd | /v1/products/casbin/casdoor |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| casdoor/casdoor | commit, fix, issues, package, releases | yes | /v1/repositories/casdoor/casdoor |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-09-09
- Remote: yes
- Exposed hosts: 2175
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports