9.0critical
Gin-vue-admin - Unrestricted File Upload
- Severity
- 9.0critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.30% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mend
Description
In "Gin-Vue-Admin", versions v2.5.1 through v2.5.3beta are vulnerable to Unrestricted File Upload that leads to execution of javascript code, through the 'Normal 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
| Product or package | Versions | Reported by |
|---|---|---|
| gin-vue-admin gin-vue-admin | from v2.5.1 before unspecified, from unspecified up to v2.5.3beta | CVE List |
| gin-vue-admin_project gin-vue-admin | from 2.5.1 up to 2.5.2, 2.5.3 | NVD |
All scores
| CISA-ADP | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
In "Gin-Vue-Admin", versions v2.5.1 through v2.5.3beta are vulnerable to Unrestricted File Upload that leads to execution of javascript code, through the 'Normal 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.
NVD (es)
En "Gin-Vue-Admin", versiones v2.5.1 hasta v2.5.3beta, son vulnerables a una subida de archivos sin restricciones que conlleva a una ejecución de código javascript, mediante la funcionalidad "Normal Upload" a la biblioteca de medios. Cuando un usuario administrador visualiza el archivo subido, un atacante de bajo privilegio obtendrá acceso a la cookie del administrador conllevando a una toma de la cuenta
References
| https://www.mend.io/vulnerability-database/CVE-2022-32177 | exploit, third-party-advisory | |
| https://github.com/flipped-aurora/gin-vue-admin/blob/v2.5.3beta/web/src/components/upload/common.vue#L29-L37 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-32177 changed 2025-05-14 | CVE Terms of Use |
| NVD | CVE-2022-32177 changed 2026-06-17 | Public domain |