Ninja Forms <= 3.6.24 - Authenticated (Admin+) Arbitrary File Deletion

6.5
External Control of File Name or Path
CVE CVE-2023-36505
CVSS 6.5 (Medium)
Publicly Published June 22, 2023
Last Updated January 22, 2024
Researcher Theodoros Malachias

Description

The Ninja Forms plugin for WordPress is vulnerable to arbitrary file deletions in versions up to, and including, 3.6.24. This is due to insufficient restriction on the file path that can be supplied during file deletion. This makes it possible for authenticated attackers, with administrative-level access, to delete arbitrary files on the server. One such file that could be targeted is wp-config.php which if deleted can make it possible for an attacker to connect a site to their own database and ultimately achieve remote code execution on the server.

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.6.25, or a newer patched version
Affected Version
  • <= 3.6.24
Patched Version
  • 3.6.25

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