CVE-2021-39341 OptinMonster <= 2.6.4 Unprotected REST-API Endpoints

High 8.2 Published Updated

Attackers can access sensitive information and modify settings via unprotected REST API endpoints in the OptinMonster WordPress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-39341?

CVE-2021-39341 is a high-severity missing authorization vulnerability in OptinMonster, published on 1 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The OptinMonster WordPress plugin is vulnerable to sensitive information disclosure and unauthorized setting updates due to insufficient authorization validation via the logged_in_or_has_api_key function in the ~/OMAPI/RestApi.php file that can used to exploit inject malicious web scripts on sites with the plugin installed. This affects versions up to, and including, 2.6.4.

Weakness: CWE-319, CWE-863, CWE-285

Which versions are affected by CVE-2021-39341?

It affects 1 product.

Products include Optinmonster Optinmonster.

How do I fix CVE-2021-39341?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2021-39341 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-whcc-jgf3-q7pm.

Is CVE-2021-39341 in your software?

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

Check your SBOMs for free