CVE-2021-25052 Button Generator < 2.3.3 - RFI leading to RCE via CSRF

High 8.8 Published Updated

An attacker can exploit a CSRF vulnerability in the Button Generator plugin to include arbitrary files, leading to remote code execution.

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

CVE-2021-25052 is a high-severity code injection vulnerability in Unknown Button Generator – easily Button Builder, 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 Button Generator WordPress plugin before 2.3.3 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-25052?

It affects 1 product.

Products include Wow-Company Button Generator.

How do I fix CVE-2021-25052?

No fix has been published for CVE-2021-25052 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-25052 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-qgxx-xcvx-3pp5.

Is CVE-2021-25052 in your software?

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

Check your SBOMs for free