Skip to main content
Vulnerability Database/CVE-2024-54300

CVE-2024-54300: AutoWP AI Content Writer CSRF Vulnerability

CVE-2024-54300 is a Cross-Site Request Forgery flaw in AutoWP AI Content Writer that enables attackers to perform unauthorized actions on behalf of users. This article covers technical details, affected versions, and mitigation.

Published:

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-54300 Overview

CVE-2024-54300 is a Cross-Site Request Forgery (CSRF) vulnerability affecting the Basar Ventures AutoWP autowp-ai-content-writer-rewriter WordPress plugin. The flaw exists in all plugin versions up to and including 2.0.8. An attacker can trick an authenticated WordPress user into submitting a forged request that performs unintended state-changing actions within the plugin. Successful exploitation requires user interaction, typically by convincing the victim to click a crafted link or visit a malicious page. The weakness is classified as CWE-352: Cross-Site Request Forgery.

Critical Impact

Attackers can abuse authenticated WordPress sessions to invoke AutoWP plugin actions without the user's consent, resulting in limited integrity impact on affected sites.

Affected Products

  • Basar Ventures AutoWP (autowp-ai-content-writer-rewriter) WordPress plugin
  • All versions from n/a through 2.0.8
  • WordPress sites with the AutoWP AI Content Writer & Rewriter plugin installed and activated

Discovery Timeline

  • 2024-12-13 - CVE-2024-54300 published to the National Vulnerability Database
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2024-54300

Vulnerability Analysis

The AutoWP plugin exposes one or more state-changing endpoints that do not validate anti-CSRF tokens. WordPress provides nonce primitives such as wp_nonce_field(), wp_create_nonce(), and check_admin_referer() to prevent forged requests. The plugin's affected handlers either omit these checks or fail to enforce them before executing the requested action.

As a result, a request originating from an attacker-controlled page can reach the plugin while reusing the victim's authenticated WordPress session cookies. The browser automatically attaches those cookies, allowing the forged request to execute with the victim's privileges. See the Patchstack CSRF Vulnerability Advisory for additional advisory context.

Root Cause

The root cause is missing or improperly validated CSRF protection on authenticated plugin actions. The vulnerable handlers trust the presence of an authenticated session and do not require a unique, unpredictable token tied to that session.

Attack Vector

Exploitation is network-based and requires user interaction. An attacker crafts a malicious page containing an auto-submitting form or image tag that targets the vulnerable AutoWP endpoint. When an authenticated WordPress user visits the page, the browser issues the request with valid session cookies, and the plugin processes it as a legitimate action.

No verified public exploit code is available. The vulnerability mechanism is described in prose per the referenced advisory.

Detection Methods for CVE-2024-54300

Indicators of Compromise

  • Unexpected content changes, posts, or configuration modifications attributed to administrator or editor accounts within WordPress
  • HTTP POST or GET requests to AutoWP plugin endpoints with Referer or Origin headers pointing to external, untrusted domains
  • Audit log entries showing AutoWP actions executed without a corresponding admin UI navigation sequence

Detection Strategies

  • Monitor WordPress access logs for requests to wp-admin/admin-ajax.php and plugin-specific endpoints lacking valid Referer headers from the site's own domain
  • Deploy a web application firewall rule to flag cross-origin state-changing requests targeting the AutoWP plugin paths
  • Correlate authenticated session activity with user browser telemetry to identify requests not initiated by legitimate admin UI interaction

Monitoring Recommendations

  • Enable WordPress audit logging plugins to track administrative actions and detect anomalous state changes
  • Review plugin inventory and version data regularly to confirm all WordPress plugins are updated beyond vulnerable release 2.0.8
  • Alert on administrative account activity originating from unusual IP addresses, user agents, or time windows

How to Mitigate CVE-2024-54300

Immediate Actions Required

  • Deactivate the AutoWP (autowp-ai-content-writer-rewriter) plugin if a patched version is not yet available or installed
  • Restrict WordPress administrative access to trusted networks using IP allow-listing or VPN gating
  • Advise administrators and editors to log out of WordPress sessions when not actively managing the site

Patch Information

At the time of publication, the advisory lists all versions through 2.0.8 as affected and does not identify a fixed release. Monitor the Patchstack CSRF Vulnerability Advisory and the plugin's WordPress.org listing for an updated release that enforces nonce validation on all state-changing actions.

Workarounds

  • Remove the AutoWP plugin until a vendor-supplied patch is available and verified
  • Deploy a WAF rule that blocks cross-origin requests to plugin endpoints lacking a same-origin Referer header
  • Enforce browser SameSite cookie settings and reauthentication for sensitive WordPress administrative actions
bash
# Example WAF rule concept: block cross-origin POSTs to the AutoWP plugin path
# Pseudocode - adapt to your WAF syntax (ModSecurity, Cloudflare, AWS WAF, etc.)
if request.method == "POST" \
   and request.uri contains "/wp-content/plugins/autowp-ai-content-writer-rewriter/" \
   and request.headers.Referer not startswith "https://your-wordpress-site.example/":
    action = block

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.