CVE-2022-39305CWE-434

Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type

Critical · published October 24, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
71.1
In the wild
Unconfirmed
What it is

🔥 A sneaky flaw in Gin-vue-admin versions before 2.5.4 can let attackers read any file on your server just by crafting a malicious upload request! Think of it like a restaurant that allows customers to place orders without checking if what they're asking for is actually on the menu — an unchecked upload can result in anything being served up from the back kitchen! An attacker could exploit this vulnerability to access sensitive information or configurations stored on the server, leading to potentially devastating consequences for your application's integrity and security. Imagine an intruder rifling through your files without anyone noticing — it's like leaving the back door of your data center wide open!

Put simply

Think of it like a restaurant that allows customers to place orders without checking if what they're asking for is actually on the menu — an unchecked upload can result in anything being served up from the back kitchen! This vulnerability arises because the Gin-vue-admin system does not properly validate the 'fileMd5' and 'fileName' parameters during file uploads, allowing unauthorized access to arbitrary files on the server.

What to do

An attacker could exploit this vulnerability to access sensitive information or configurations stored on the server, leading to potentially devastating consequences for your application's integrity and security. Imagine an intruder rifling through your files without anyone noticing — it's like leaving the back door of your data center wide open! To protect your application, immediately upgrade to Gin-vue-admin version 2.5.4b or later. Ensure that you implement proper validation for file uploads moving forward. Regularly review your file handling processes to prevent similar vulnerabilities. You've got this! By taking action, you’re on your way to securing your system like a pro! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01341 · 71.1th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2022-10-24T00:00Z
EPSS history
Timeline
  • 24 OCT 00:00Z
    Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type
    cvelistv5