The Dokan Pro plugin for WordPress is vulnerable to SQL Injection via the 'code' parameter in all versions up to, and including, 3.10.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This vulnerability allows unauthenticated attackers to append additional SQL queries into already existing queries, making it possible to extract sensitive information from the database.
With a CVSS score of 10, this vulnerability is classified as critical, highlighting its potential impact on affected systems. Attackers may leverage this vulnerability to gain unauthorized access to sensitive data, leading to significant data breaches. Organizations should prioritize patching immediately.
As of now, there is a known proof of concept available on GitHub, indicating that attackers may actively exploit this vulnerability. Organizations using the Dokan Pro plugin should take immediate action to secure their systems and prevent exploitation.
The urgency for defenders is high, given the potential for widespread exploitation. It is critical for organizations to assess their current installations and implement necessary patches to mitigate the risks associated with this vulnerability.
Vulnerability Details
The vulnerability, identified as CVE-2024-3922, affects the Dokan Pro plugin for WordPress. The official CVE description notes SQL Injection vulnerability via the 'code' parameter, allowing attackers to manipulate SQL queries. The CVSS score is 10, indicating a critical severity level. The vulnerability was published on June 13, 2024, and is classified under CWE-89.
Technical Analysis
The root cause of this vulnerability stems from insufficient escaping of user input and a lack of proper preparation on the SQL queries. This flaw allows for SQL Injection attacks, where attackers can send crafted input that gets executed as SQL code. The attack vector is over the network, with low complexity, and requires no privileges or user interaction. The confidentiality, integrity, and availability impacts are all rated as high.
Risk & Impact Analysis
Risk to organizations includes unauthorized access to sensitive information stored in the database. Given that this vulnerability affects all versions of the Dokan Pro plugin prior to 3.11.0, the potential blast radius is significant, especially for those using earlier versions. Organizations should assess the urgency based on the critical CVSS score and actively exploit status.
Exploitation Status
Signal | Status |
|---|---|
Known Exploit | Yes |
Public PoC | Yes |
Actively Exploited | No |
Ransomware Use | No |
Affected Versions
The vulnerable versions of the Dokan Pro plugin include all versions up to and including 3.10.3. All users are advised to upgrade to version 3.11.0 or later to mitigate the risks associated with this vulnerability.
Mitigation & Remediation
Organizations should address this vulnerability by updating to the latest version of the Dokan Pro plugin. Version 3.11.0 includes necessary patches to remediate this issue. For those unable to apply the patch immediately, consider implementing web application firewalls (WAF) to filter out malicious requests and monitor logs for suspicious activities. Additionally, organizations may engage in penetration testing to identify similar weaknesses.
Detection Guidance
To detect potential exploitation of this vulnerability, organizations should monitor application logs for unusual database queries and user activities. Implementing signature-based detection for SQL Injection attempts can also aid in identifying possible attacks.
AppSecure Threat Intelligence Insight
The long-term significance of this vulnerability highlights the ongoing need for secure coding practices in plugin development. SQL Injection remains a prevalent attack vector, and this incident illustrates the necessity for regular security assessments and updates. Security teams should learn from this event to reinforce their defenses against similar vulnerabilities. Implementing a comprehensive vulnerability management program can help organizations proactively identify and remediate vulnerabilities.
As organizations move towards a more digitized environment, the importance of application security must remain a top priority. Regular updates and security reviews can help prevent similar vulnerabilities from being exploited in the future.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

.webp)