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

CVE-2024-13749: Era404 StaffList CSRF Vulnerability

CVE-2024-13749 is a cross-site request forgery vulnerability in Era404 StaffList plugin for WordPress that enables attackers to modify settings via forged requests. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

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

CVE-2024-13749 is a Cross-Site Request Forgery (CSRF) vulnerability in the StaffList plugin for WordPress, developed by era404. The flaw affects all versions up to and including 3.2.3. The root cause is missing or incorrect nonce validation on the stafflist administrative page. Unauthenticated attackers can craft malicious requests that modify plugin settings and inject arbitrary web scripts when a site administrator is tricked into clicking a prepared link. The vulnerability is tracked under [CWE-79] because successful exploitation results in stored script injection through the forged settings update.

Critical Impact

Successful exploitation allows unauthenticated attackers to persist malicious JavaScript inside WordPress administrative pages by abusing an authenticated administrator session, leading to script execution in administrator browsers.

Affected Products

  • era404 StaffList plugin for WordPress — all versions through 3.2.3
  • WordPress sites with the StaffList plugin installed and active
  • Administrator accounts able to access the stafflist settings page

Discovery Timeline

  • 2025-02-12 - CVE-2024-13749 published to the National Vulnerability Database (NVD)
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2024-13749

Vulnerability Analysis

The StaffList plugin exposes an administrative stafflist page used to manage plugin settings. The handler that processes setting updates does not validate a WordPress nonce, or validates it incorrectly. WordPress nonces are the framework-level anti-CSRF token mechanism, and their absence allows cross-origin form submissions to succeed under an authenticated administrator session.

Because the settings page accepts input that is later rendered without adequate output encoding, the CSRF primitive chains into stored Cross-Site Scripting (XSS). An attacker who tricks a logged-in administrator into visiting a hostile page can submit arbitrary values that are stored and later executed in the context of the WordPress admin interface.

Root Cause

The underlying defect is a missing or broken call to wp_verify_nonce() or check_admin_referer() on the request handler associated with the stafflist page. Without server-side verification of the WordPress nonce, the plugin cannot distinguish an administrator-initiated action from a forged request originating from an attacker-controlled site.

Attack Vector

The attack requires user interaction from a privileged WordPress user. An attacker hosts a page containing an auto-submitting HTML form or a crafted link that targets the vulnerable stafflist endpoint on a victim site. When a signed-in WordPress administrator loads the attacker page, the browser attaches the administrator's session cookies to the forged POST request. The plugin accepts the submission, updates settings, and persists attacker-supplied script content that later executes in administrator sessions.

See the Wordfence Vulnerability Report for additional technical analysis.

Detection Methods for CVE-2024-13749

Indicators of Compromise

  • Unexpected modifications to StaffList plugin settings in the wp_options table or plugin-specific database rows.
  • Script tags, event handlers, or external script references stored inside StaffList configuration fields.
  • Administrator browser sessions executing JavaScript from unrecognized origins while viewing WordPress admin pages.

Detection Strategies

  • Monitor web server access logs for POST requests to WordPress admin pages referencing stafflist where the HTTP Referer header is absent or points to an external domain.
  • Review WordPress audit logs for setting updates that do not correlate with legitimate administrator activity windows.
  • Scan rendered admin pages for inline <script> tags or on* event attributes originating from StaffList settings output.

Monitoring Recommendations

  • Enable file integrity monitoring on the WordPress wp-content/plugins/stafflist/ directory to detect tampering.
  • Deploy a Web Application Firewall rule to require a valid WordPress nonce parameter on stafflist administrative requests.
  • Alert on administrator-authenticated requests that originate from external Referer domains or lack a Referer header.

How to Mitigate CVE-2024-13749

Immediate Actions Required

  • Update the StaffList plugin to the version published after the fix commit referenced in the WordPress Plugin Changeset.
  • Audit StaffList settings for injected script content and remove any unauthorized entries.
  • Rotate administrator session cookies and force re-authentication for all WordPress administrator accounts.

Patch Information

The vendor released a corrected version of the plugin that adds nonce validation to the stafflist administrative handler. The fix is documented in the WordPress Plugin Changeset. Administrators should upgrade to a release later than 3.2.3 to remediate CVE-2024-13749.

Workarounds

  • Deactivate and remove the StaffList plugin until the patched version can be deployed.
  • Restrict administrative access to the WordPress admin interface using IP allowlisting at the web server or WAF layer.
  • Train administrators to avoid clicking untrusted links while authenticated to WordPress and use isolated browser profiles for admin tasks.
bash
# Example WAF rule concept to require WordPress nonce on StaffList admin requests
# Block POST to admin-side stafflist handlers when _wpnonce parameter is missing
SecRule REQUEST_METHOD "@streq POST" \
  "chain,id:1013749,phase:2,deny,status:403,msg:'CVE-2024-13749 CSRF guard'"
  SecRule REQUEST_URI "@contains stafflist" \
    "chain"
    SecRule &ARGS:_wpnonce "@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

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.