CVE-2022-32176CWE-434

Gin-vue-admin - Unrestricted File Upload

Critical · published October 17, 2022

CVSS v3.1
9.0
EPSS
1%
Percentile
69.6
In the wild
Unconfirmed
What it is

🚨 An unrestricted file upload in Gin-Vue-Admin allows low privilege attackers to execute JavaScript code and hijack admin sessions! 🔥 Think of it like a sneaky delivery person leaving a package marked as harmless but filled with exploding confetti inside the admin's office — once opened, it triggers chaos and takes over. 🎉 This vulnerability could lead to an attacker stealing admin cookies, paving the way for complete account takeover! If successful, they could manipulate the entire system, causing absolute havoc and security breaches.

Put simply

Think of it like a sneaky delivery person leaving a package marked as harmless but filled with exploding confetti inside the admin's office — once opened, it triggers chaos and takes over. 🎉 The flaw allows unauthorized file uploads through the "Compress Upload" feature, enabling attackers to execute malicious JavaScript when an admin views the file. This gives them access to sensitive session information and admin privileges.

What to do

This vulnerability could lead to an attacker stealing admin cookies, paving the way for complete account takeover! If successful, they could manipulate the entire system, causing absolute havoc and security breaches. Upgrade Gin-Vue-Admin to version v2.5.4 or later to patch this vulnerability immediately. Implement stricter file validation checks and ensure that the upload mechanism only allows specific file types. Regularly review user permissions to limit potential damage. You've got this! Follow these steps, and you’ll secure your system like a pro! 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01270 · 69.6th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2022-10-17T18:25Z
EPSS history
Timeline
  • 17 OCT 18:25Z
    Gin-vue-admin - Unrestricted File Upload
    cvelistv5