CVE-2021-25051 Modal Window < 5.2.2 - RFI leading to RCE via CSRF

High 8.8 Published Updated

An attacker can achieve remote code execution via CSRF by exploiting arbitrary file inclusion in the Modal Window WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-25051?

CVE-2021-25051 is a high-severity code injection vulnerability in Unknown Modal Window – create popup modal window, published on 10 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Modal Window WordPress plugin before 5.2.2 within the wow-company admin menu page allows to include() arbitrary file with PHP extension (as well as with data:// or http:// protocols), thus leading to CSRF RCE.

Weakness: CWE-352

Which versions are affected by CVE-2021-25051?

It affects 1 product.

Products include Wow-Company Modal Window.

How do I fix CVE-2021-25051?

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

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-25051 being exploited?

There is no known exploitation of CVE-2021-25051 in the wild and no public exploit code.

Sources

Also known as GHSA-8g5c-c435-6rx7.

Is CVE-2021-25051 in your software?

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

Check your SBOMs for free