CVE-2021-34648 Ninja Forms <= 3.5.7 Unprotected REST-API to Email Injection

Medium 6.4 Published Updated

Authenticated attackers can send arbitrary emails via an unprotected REST API endpoint, enabling social engineering attacks against victims.

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

What is CVE-2021-34648?

CVE-2021-34648 is a medium-severity missing authorization vulnerability in Ninjaforms Ninja Forms, published on 22 Sep 2021. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The Ninja Forms WordPress plugin is vulnerable to arbitrary email sending via the trigger_email_action function found in the ~/includes/Routes/Submissions.php file, in versions up to and including 3.5.7. This allows authenticated attackers to send arbitrary emails from the affected server via the /ninja-forms-submissions/email-action REST API which can be used to socially engineer victims.

Weakness: CWE-862, CWE-863

Which versions are affected by CVE-2021-34648?

It affects 1 product.

Products include Ninjaforms Ninja Forms.

How do I fix CVE-2021-34648?

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

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

All Ninjaforms Ninja Forms vulnerabilities

Sources

Also known as GHSA-6gw3-344q-7p6r.

Is CVE-2021-34648 in your software?

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

Check your SBOMs for free