Unrestricted Upload of File with Dangerous Type
CVE-2022-32177
Summary
In github.com/flipped-aurora/gin-vue-admin package versions from 2.5.1 are vulnerable to Unrestricted File Upload that leads to the 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 an account takeover.
- LOW
- NETWORK
- HIGH
- CHANGED
- REQUIRED
- LOW
- HIGH
- HIGH
CWE-434 - Unrestricted Upload of File with dangerous type
'Unrestricted file upload with dangerous type' attacks involve an attacker uploading or transferring files of dangerous types to the server. The severity of such an attack depends upon the execution mechanism and the storage location of the uploaded file. Thus, it may range from simple defacement to arbitrary file execution, and complete system takeover.
References
Advisory Timeline
- Published