CVE-2021-4400 Better Search <= 2.5.2 - Cross-Site Request Forgery Bypass

Medium 4.3 Published Updated

Unauthenticated attackers can trick administrators into modifying plugin settings via forged requests due to missing nonce validation.

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

CVE-2021-4400 is a medium-severity vulnerability in ajay Better Search – Relevant search results for WordPress, published on 1 Jul 2023. 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 Better Search plugin for WordPress is vulnerable to Cross-Site Request Forgery in versions up to, and including, 2.5.2. This is due to missing or incorrect nonce validation on the bsearch_process_settings_import() and bsearch_process_settings_export() functions. This makes it possible for unauthenticated attackers to import and export settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Weakness: CWE-352

Which versions are affected by CVE-2021-4400?

It affects 1 product.

Products include Webberzone Better Search.

How do I fix CVE-2021-4400?

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

Is CVE-2021-4400 being exploited?

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

Sources

Also known as GHSA-mr8q-4p26-5g2p.

Is CVE-2021-4400 in your software?

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

Check your SBOMs for free