Ninja Forms Contact Form <= 3.7.1 - Unauthenticated Second Order SQL Injection

5.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-0685
CVSS 5.9 (Medium)
Publicly Published February 1, 2024
Last Updated February 12, 2024
Researcher stealthcopter

Description

The Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to Second Order SQL Injection via the email address value submitted through forms in all versions up to, and including, 3.7.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to inject SQL in their email address that will append additional into the already existing query when an administrator triggers a personal data export.

References

Share

Vulnerability Details for Ninja Forms – The Contact Form Builder That Grows With You

Software Type Plugin
Software Slug ninja-forms (view on wordpress.org)
Patched? Yes
Remediation Update to version 3.7.2, or a newer patched version
Affected Version
  • <= 3.7.1
Patched Version
  • 3.7.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation