Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-22151 Overview
CVE-2024-22151 is a Missing Authorization vulnerability [CWE-862] in the Codection Import and export users and customers plugin for WordPress. The flaw affects all versions from the initial release through 1.24.6. An unauthenticated attacker can reach plugin functionality that should require privileged access, resulting in broken access control. The issue is remotely exploitable over the network without user interaction. According to the Patchstack Vulnerability Analysis, the issue is classified as a broken access control weakness in the plugin's handler logic.
Critical Impact
Unauthenticated attackers can invoke plugin functions that lack capability checks, enabling limited integrity impact on affected WordPress sites.
Affected Products
- Codection Import and export users and customers (WordPress plugin)
- All versions through 1.24.6
- WordPress installations with the plugin active
Discovery Timeline
- 2024-06-08 - CVE-2024-22151 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-22151
Vulnerability Analysis
The vulnerability resides in the Import and export users and customers plugin, which provides WordPress administrators with bulk user import and export capabilities via CSV files. One or more plugin actions do not verify that the caller holds the required capability before executing. This maps to CWE-862 (Missing Authorization), a class of flaws where sensitive functionality is reachable without an authorization check.
Because the authorization gap sits in a network-facing WordPress endpoint, an attacker needs only HTTP access to a vulnerable site. No credentials, elevated privileges, or user interaction are required. The attack scope aligns with limited integrity impact and does not directly expose confidential data or crash the host.
Exploitation of similar WordPress plugin authorization flaws typically targets AJAX actions registered via wp_ajax_nopriv_ hooks or REST routes with permissive permission_callback definitions. Successful abuse lets an unauthenticated requester invoke import or export routines intended for site administrators.
Root Cause
The plugin exposes functionality through WordPress action hooks or REST endpoints without validating caller capabilities using current_user_can() or an equivalent check. The missing capability gate allows the request to reach downstream logic that assumes authorized context.
Attack Vector
The attack vector is network based (AV:N) and does not require authentication. An attacker sends crafted HTTP requests to the WordPress site, invoking the vulnerable plugin action directly. Refer to the Patchstack Vulnerability Analysis for endpoint specifics.
No public proof-of-concept exploit code is available in the enriched data, so technical details are described in prose rather than reproduced here.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2024-22151
Indicators of Compromise
- Unexpected POST or GET requests from unauthenticated clients to admin-ajax.php referencing plugin-specific action names.
- Entries in WordPress logs or web server access logs showing requests to plugin endpoints without a prior authenticated session cookie.
- Unexplained new or modified user accounts imported through the plugin.
Detection Strategies
- Inventory WordPress installations and flag any site running Import and export users and customers at version 1.24.6 or earlier.
- Review web server logs for repeated requests to the plugin's AJAX or REST endpoints originating from external IP addresses.
- Correlate plugin invocation events with WordPress user-table changes to identify unauthorized import activity.
Monitoring Recommendations
- Enable WordPress audit logging to capture user creation, role changes, and plugin action invocations.
- Alert on anonymous POST traffic to wp-admin/admin-ajax.php with action parameters tied to this plugin.
- Monitor outbound exports of user data as potential evidence of unauthorized export calls.
How to Mitigate CVE-2024-22151
Immediate Actions Required
- Update the Codection Import and export users and customers plugin to a version later than 1.24.6.
- If a patched version is not yet deployed, deactivate the plugin until it can be upgraded.
- Restrict administrative paths at the web server or WAF layer to trusted source IPs where feasible.
Patch Information
Consult the Patchstack Vulnerability Analysis for current fixed version guidance. Upgrade through the WordPress plugin manager or by replacing the plugin files with the vendor-supplied patched release.
Workarounds
- Block unauthenticated requests to the plugin's AJAX actions using a web application firewall rule.
- Enforce HTTP authentication on wp-admin/ directories to add an authentication layer in front of plugin endpoints.
- Remove the plugin from production environments where bulk user import or export is not actively required.
# Example WAF rule: block unauthenticated admin-ajax calls to plugin actions
# Replace <action_name> with the specific plugin action identifier
SecRule REQUEST_URI "@contains /wp-admin/admin-ajax.php" \
"chain,deny,status:403,id:1002201,msg:'Block unauth plugin action CVE-2024-22151'"
SecRule ARGS:action "@rx ^(acui|codection)_" \
"chain"
SecRule &REQUEST_COOKIES:/wordpress_logged_in_/ "@eq 0"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

