CVE-2022-38638

Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource

published September 9, 2022

CVSS
—
EPSS
1%
Percentile
68.6
In the wild
Unconfirmed
What it is

⚠️ An arbitrary file write vulnerability hides in Casdoor v1.97.3, waiting for a crafty attacker to exploit it. 🚨 Think of this vulnerability like a delivery service that just dumps packages anywhere without checking the address — a malicious actor could potentially write files anywhere on the server, causing chaos! 📦 If exploited, this could lead to unauthorized file creations, putting sensitive data at risk or even allowing an intruder to execute malicious code on the server. It’s like giving a stranger the key to your filing cabinet — they can leave anything they want!

Put simply

Think of this vulnerability like a delivery service that just dumps packages anywhere without checking the address — a malicious actor could potentially write files anywhere on the server, causing chaos! 📦 This vulnerability occurs via the fullFilePath parameter at /api/upload-resource, enabling attackers to manipulate the file path used in uploads, leading to arbitrary file writes on the server.

What to do

If exploited, this could lead to unauthorized file creations, putting sensitive data at risk or even allowing an intruder to execute malicious code on the server. It’s like giving a stranger the key to your filing cabinet — they can leave anything they want! Upgrade Casdoor to version 1.98 or later to close this vulnerability. Additionally, implement strict validation on file paths to ensure that only intended files can be written. Making these changes will significantly bolster your security! You’ve got this! Secure your system by following these steps, and you’ll be back in control in no time. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01226 · 68.6th percentile
Published
2022-09-09T19:40Z
EPSS history
Timeline
  • 09 SEP 19:40Z
    Casdoor v1.97.3 was discovered to contain an arbitrary file write vulnerability via the fullFilePath parameter at /api/upload-resource
    cvelistv5