Black Friday60% off BLACKFRIDAY2026
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Web Vulnerabilities·Updated Nov 11, 2026

CVE-2021-24981 Scanner

CVE-2021-24981 Scanner - Cross-Site Request Forgery (CSRF) vulnerability in Directorist

Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
3
Times Used
continuous scan runs
4.2k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
7.5
CVSS
Description

The Directorist WordPress plugin before 7.0.6.2 was vulnerable to Cross-Site Request Forgery to Remote File Upload leading to arbitrary PHP shell uploads in the wp-content/plugins directory.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
Directorist – Business Directory Plugin
AFFECTED< 7.0.6.2→SAFE ✓≥ 7.0.6.2
Updated Nov 11, 2026View on NVD →
Detail

Directorist is a widely used plugin for WordPress that facilitates the creation and management of business directories. It is primarily used by website administrators and developers who want to add directory functionality to their WordPress sites. This plugin is popular due to its rich set of features, user-friendly interface, and flexibility. Organizations use Directorist to list businesses, events, or services, thereby enhancing their site's offerings. The plugin supports multiple directory types and allows for customizations to suit specific needs. It is an indispensable tool for creating online directories efficiently and effectively.

The Cross-Site Request Forgery (CSRF) vulnerability in the Directorist plugin for WordPress allows unauthorized actions to be performed on a user's behalf. This particular vulnerability is due to a missing nonce verification in the front-end listing submission handler. It enables attackers to forge submissions, including arbitrary file uploads, exploiting the lack of proper request validation. Such vulnerabilities can have severe security implications, especially if combined with file upload capabilities, potentially leading to remote code execution. Ensuring nonce verification and proper authorization checks can mitigate such risks.

The vulnerability is specifically tied to the 'add_listing_action' AJAX action in Directorist. The end point allows unauthenticated users to submit listings without proper nonce checks, making it susceptible to CSRF attacks. Attackers can exploit this by crafting malicious requests to execute actions using a logged-in user's credentials. The key technical lapse is the failure to validate the directorist nonce in the atbdp_submit_listing() function. This flaw was addressed in version 7.0.6.2, where nonce validation is incorporated to prevent such unauthorized submissions.

Exploiting this CSRF vulnerability could lead to severe consequences, such as arbitrary file uploads and even remote code execution on the server. This can potentially allow attackers to execute malicious scripts, steal sensitive data, or take control of the server. Furthermore, if the uploaded files are used to escalate privileges, it could lead to complete server compromise. Such outcomes underscore the importance of having robust security measures and regular updates in place.

REFERENCES

Solution Advice
  • Update Directorist to version 7.0.6.2 or later to ensure nonce verification on listing submissions.
  • Regularly audit WordPress plugins to identify and update outdated or vulnerable components.
  • Employ security plugins and firewalls to help mitigate automated CSRF attacks.
  • Consider using CAPTCHA in forms to decrease unauthorized submissions.
  • Review server and website logs for any unusual activity that could signal exploitation attempts.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.