CVE-2022-32176 Gin-vue-admin - Unrestricted File Upload
An attacker can upload malicious files to the media library, leading to JavaScript execution and admin account takeover when the file is viewed.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-32176?
CVE-2022-32176 is a critical vulnerability in gin-vue-admin, published on 17 Oct 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In "Gin-Vue-Admin", versions v2.5.1 through v2.5.3b are vulnerable to Unrestricted File Upload that leads to execution of javascript code, through the "Compress Upload" functionality to the Media Library. When an admin user views the uploaded file, a low privilege attacker will get access to the admin's cookie leading to account takeover.
Weakness: CWE-434
Which versions are affected by CVE-2022-32176?
It affects 1 product.
Products include Gin-Vue-Admin Project Gin-Vue-Admin.
How do I fix CVE-2022-32176?
No fix has been published for CVE-2022-32176 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-32176 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-32176 exists.
Other vulnerabilities in gin-vue-admin
- CVE-2022-39345 Gin-vue-admin arbitrary file upload vulnerability caused by path traversal
- CVE-2022-39305 Gin-vue-admin vulnerable to Unrestricted Upload of File with Dangerous Type
- CVE-2021-44219 SQL injection in n/a
- CVE-2022-32177 Gin-vue-admin - Unrestricted File Upload
- CVE-2025-66410 Gin-vue-admin has an arbitrary file deletion vulnerability
Sources
Also known as GHSA-5qph-282w-wqm2.