CVE-2021-34647

Ninja Forms <= 3.5.7 - Unprotected REST-API to Sensitive Information Disclosure

2021-09-22 15:21
Chloe Chamberland

Strategic Overview

Status
Patched in 3.5.8
Affected Version
<= 3.5.7
CVSS
6.5Medium
Weakness type
CWE-863 · Incorrect Authorization
CVE
CVE-2021-34647
View all Ninja Forms – The Contact Form Builder That Grows With You vulnerabilities

At a glance

CVE-2021-34647 is a medium-severity Incorrect Authorization vulnerability in the Ninja Forms WordPress plugin, affecting versions <= 3.5.7. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). The issue is fixed in version 3.5.8; sites on affected versions should update now. Disclosed September 2021, reported by Chloe Chamberland.

Vulnerability Overview

The Ninja Forms WordPress plugin is vulnerable to sensitive information disclosure via the bulk_export_submissions function found in the ~/includes/Routes/Submissions.php file, in versions up to and including 3.5.7. This allows authenticated attackers to export all Ninja Forms submissions data via the /ninja-forms-submissions/export REST API which can include personally identifiable information.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.

CWE-863: Incorrect Authorization

Reaching this weakness in Ninja Forms <= 3.5.7 takes a caller who can reach the endpoint. Incorrect authorization means a permission check exists but evaluates the wrong thing, so it passes for callers it was meant to stop.

The action runs for users the code intended to exclude, with the same effect as having no check at all. For Ninja Forms the fix is 3.5.8: builds <= 3.5.7 are affected, anything from 3.5.8 onward is not.

Remediation

Update to version 3.5.8, or a newer patched version

How does WordSec protect against this?

Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Ninja Forms 3.5.8 closes this, and updating the plugin is the step that ends it.

  • Login Security
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C