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

Critical 9.0 Published Updated

An attacker can upload malicious files to the media library, triggering JavaScript execution when an admin views them, leading to account takeover.

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-32177?

CVE-2022-32177 is a critical vulnerability in gin-vue-admin, published on 14 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.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.

Weakness: CWE-434

Which versions are affected by CVE-2022-32177?

It affects 1 product.

Products include Gin-Vue-Admin Project Gin-Vue-Admin.

How do I fix CVE-2022-32177?

No fix has been published for CVE-2022-32177 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-32177 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-32177 exists.

Sources

Also known as GHSA-ppw7-v579-v4cr.

Is CVE-2022-32177 in your software?

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

Check your SBOMs for free