CVE-2024-37238

4.3 MEDIUM

📋 TL;DR

This CSRF vulnerability in the WPAdverts WordPress plugin allows attackers to trick authenticated administrators into performing unintended actions on the classifieds system. It affects all WordPress sites using WPAdverts plugin versions up to 2.1.2. The vulnerability could lead to unauthorized content modification or plugin settings changes.

💻 Affected Systems

Products:
  • WPAdverts – Classifieds Plugin for WordPress
Versions: All versions up to and including 2.1.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with WPAdverts plugin enabled. Vulnerability exists in default configuration.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could modify classified listings, change plugin settings, or perform administrative actions leading to data manipulation or site defacement.

🟠

Likely Case

Unauthorized modification of classified ads content, spam injection, or disruption of classifieds functionality.

🟢

If Mitigated

Minimal impact with proper CSRF protections and user awareness training.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires tricking authenticated users into visiting malicious pages. No authentication bypass needed.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.1.3 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/wpadverts/vulnerability/wordpress-wpadverts-classifieds-plugin-2-1-2-cross-site-request-forgery-csrf-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WPAdverts – Classifieds Plugin. 4. Click 'Update Now' if available. 5. Alternatively, download version 2.1.3+ from WordPress repository and manually update.

🔧 Temporary Workarounds

CSRF Protection via WordPress Nonces

all

Implement custom nonce verification for WPAdverts forms

Requires custom PHP code modification - consult developer

Temporary Plugin Deactivation

linux

Disable WPAdverts plugin until patched

wp plugin deactivate wpadverts

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to detect CSRF patterns
  • Educate users about phishing risks and implement strict access controls

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin → Plugins → WPAdverts version. If version is 2.1.2 or lower, system is vulnerable.

Check Version:

wp plugin get wpadverts --field=version

Verify Fix Applied:

Verify WPAdverts plugin version is 2.1.3 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WPAdverts endpoints without referrer headers
  • Multiple failed form submissions from same IP

Network Indicators:

  • Cross-origin requests to wp-admin/admin-ajax.php with wpadverts actions

SIEM Query:

source="wordpress.log" AND (uri_path="/wp-admin/admin-ajax.php" AND action="wpadverts_*")

🔗 References

📤 Share & Export