Skip to main content

CVE-2022-3395: CWE-89 SQL Injection in Unknown WP All Export Pro

High
VulnerabilityCVE-2022-3395cvecve-2022-3395cwe-89
Published: Tue Oct 25 2022 (10/25/2022, 00:00:00 UTC)
Source: CVE
Vendor/Project: Unknown
Product: WP All Export Pro

Description

The WP All Export Pro WordPress plugin before 1.7.9 uses the contents of the cc_sql POST parameter directly as a database query, allowing users which has been given permission to run exports to execute arbitrary SQL statements, leading to a SQL Injection vulnerability. By default only users with the Administrator role can perform exports, but this can be delegated to lower privileged users as well.

AI-Powered Analysis

AILast updated: 07/05/2025, 09:27:00 UTC

Technical Analysis

CVE-2022-3395 is a high-severity SQL Injection vulnerability (CWE-89) found in the WP All Export Pro WordPress plugin versions prior to 1.7.9. The vulnerability arises because the plugin directly uses the contents of the cc_sql POST parameter as part of a database query without proper sanitization or parameterization. This flaw allows an authenticated user with permission to run exports—by default, users with the Administrator role—to execute arbitrary SQL statements against the underlying database. Since the export permission can be delegated to lower-privileged users, the attack surface extends beyond administrators. Exploiting this vulnerability could lead to unauthorized data disclosure, data modification, or even complete compromise of the database and potentially the hosting environment. The CVSS 3.1 score of 8.8 reflects the critical impact on confidentiality, integrity, and availability, with network attack vector, low attack complexity, and no user interaction required. Although no known exploits are currently reported in the wild, the vulnerability’s nature and ease of exploitation make it a significant risk for WordPress sites using this plugin. The absence of a patch link suggests that users should verify plugin updates or apply mitigations promptly.

Potential Impact

For European organizations, this vulnerability poses a substantial risk, especially for those relying on WordPress sites with the WP All Export Pro plugin for data export functions. Successful exploitation could lead to unauthorized access to sensitive customer or business data, violating GDPR requirements and potentially resulting in regulatory fines and reputational damage. The ability to execute arbitrary SQL commands could also allow attackers to alter or delete critical data, disrupt business operations, or use the compromised site as a pivot point for further network intrusion. Given the widespread use of WordPress across European enterprises, including e-commerce, government, and educational institutions, the impact could be broad. Organizations handling personal data or financial information are particularly vulnerable to data breaches stemming from this flaw.

Mitigation Recommendations

Organizations should immediately verify the version of WP All Export Pro in use and upgrade to version 1.7.9 or later where the vulnerability is fixed. If an upgrade is not immediately possible, restrict export permissions strictly to trusted administrators and audit user roles to ensure no unnecessary delegation of export capabilities. Implement Web Application Firewall (WAF) rules to detect and block suspicious SQL injection patterns targeting the cc_sql parameter. Conduct regular security audits and database activity monitoring to detect anomalous queries. Additionally, enforce the principle of least privilege on database accounts used by WordPress to limit the potential damage from SQL injection. Backup critical data regularly and ensure backups are stored securely to enable recovery in case of compromise.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WPScan
Date Reserved
2022-10-03T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9819c4522896dcbd8d21

Added to database: 5/21/2025, 9:08:41 AM

Last enriched: 7/5/2025, 9:27:00 AM

Last updated: 8/6/2025, 12:52:30 AM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats