CVE-2022-38638
vulnerability analysis and mitigation

Overview

Casdoor v1.97.3 contains an arbitrary file write vulnerability that was discovered in the /api/upload-resource endpoint through the fullFilePath parameter. The vulnerability was reported and tracked as CVE-2022-38638, with the initial discovery being made on August 19, 2022 (GitHub Issue).

Technical details

The vulnerability exists in the file upload functionality when the upload provider is set to Storage Local File System. The security flaw allows attackers to exploit the fullFilePath parameter in the /api/upload-resource API endpoint. Through directory traversal techniques, users can specify relative paths to write or overwrite files anywhere in the file system that the application has access to (GitHub Issue).

Impact

The vulnerability allows malicious users to write arbitrary files to the system or overwrite existing files, potentially leading to system compromise. An attacker could exploit this to upload malicious files or overwrite critical system files, which could result in unauthorized access or system manipulation (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management