CVE-2021-24179
WordPress vulnerability analysis and mitigation

Overview

The Business Directory Plugin for WordPress (versions before 5.11) was identified with CVE-2021-24179, a critical vulnerability discovered in April 2021. The plugin suffered from a Cross-Site Request Forgery (CSRF) vulnerability that allowed attackers to manipulate a logged-in administrator into importing malicious files (WPScan).

Technical details

The vulnerability stems from missing CSRF protections in the file import functionality. When combined with insufficient file validation, this could lead to Remote Code Execution (RCE). The vulnerability was assigned a CVSS score of 8.3 (High), indicating its serious nature. While CSRF checks and some file validation were added in version 5.11, the implemented blacklist approach for forbidding specific files (such as PHP) remained incomplete, still allowing PHP4 files to be uploaded by users with high privileges (WPScan).

Impact

The vulnerability could allow attackers to achieve Remote Code Execution on affected WordPress installations through arbitrary file uploads. By exploiting the CSRF vulnerability, attackers could trick administrators into unknowingly uploading malicious files to the server, potentially leading to complete server compromise (WPScan).

Mitigation and workarounds

The vulnerability was patched in version 5.11 of the Business Directory Plugin. Users are strongly advised to update to this version or later. The update implemented CSRF checks and file validation, though it should be noted that the initial fix used a blacklist approach that still had some limitations (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13126HIGH7.5
  • wpforo
NoYesDec 14, 2025
CVE-2025-12537MEDIUM6.4
  • addon-elements-for-elementor-page-builder
NoYesDec 14, 2025
CVE-2025-9873MEDIUM6.4
  • a3-lazy-load
NoYesDec 13, 2025
CVE-2025-9856MEDIUM6.4
  • popup-builder
NoYesDec 13, 2025
CVE-2025-12696N/AN/A
  • hls-crm-form-shortcode
NoNoDec 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management