CVE-2022-32176 Gin-vue-admin - Unrestricted File Upload

Critical 9.0 Published Updated

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.

Sources

Also known as GHSA-5qph-282w-wqm2.

Is CVE-2022-32176 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free