CVE-2022-32176: Gin-vue-admin - Unrestricted File Upload
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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2022-32176?
CVE-2022-32176 is a vulnerability in Gin-Vue-Admin versions v2.5.1 through v2.5.3b that allows unrestricted file upload and execution of JavaScript code.
How does CVE-2022-32176 impact Gin-Vue-Admin?
CVE-2022-32176 allows a low privilege attacker to upload files containing JavaScript code and execute it within the Media Library of Gin-Vue-Admin when viewed by an admin user.
What is the severity of CVE-2022-32176?
CVE-2022-32176 has a severity value of 9, indicating a critical vulnerability.
How can I fix CVE-2022-32176?
To fix CVE-2022-32176, update your Gin-Vue-Admin installation to a version that is not affected, such as v2.5.3c or later.
Where can I find more information about CVE-2022-32176?
You can find more information about CVE-2022-32176 at the following references: [GitHub](https://github.com/flipped-aurora/gin-vue-admin/blob/v2.5.3beta/web/src/components/upload/image.vue#L43-L49) and [Mend.io](https://www.mend.io/vulnerability-database/CVE-2022-32176).