CVE-2018-19488

9.8 CRITICAL

📋 TL;DR

This vulnerability allows remote unauthenticated attackers to reset any user's password in WordPress sites using the WP-jobhunt plugin. Attackers can exploit this by sending specially crafted AJAX requests to the admin-ajax.php endpoint. All WordPress installations with vulnerable versions of WP-jobhunt plugin are affected.

💻 Affected Systems

Products:
  • WP-jobhunt WordPress plugin
Versions: All versions before 2.4
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with WP-jobhunt plugin installed and activated.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete site takeover where attackers reset administrator passwords, gain full control over the WordPress installation, and potentially compromise the entire server.

🟠

Likely Case

Attackers reset user passwords to gain unauthorized access to accounts, potentially leading to data theft, content manipulation, or privilege escalation.

🟢

If Mitigated

With proper controls, impact is limited to temporary account lockouts and user inconvenience until passwords are restored.

🌐 Internet-Facing: HIGH - The vulnerability is exploitable remotely without authentication via public web interfaces.
🏢 Internal Only: LOW - The vulnerability requires web access to the WordPress admin-ajax.php endpoint, which is typically internet-facing.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: CONFIRMED
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Simple HTTP POST request to admin-ajax.php with specific parameters. Multiple public exploit scripts available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.4

Vendor Advisory: https://wpvulndb.com/vulnerabilities/9206

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find WP-jobhunt plugin. 4. Click 'Update Now' if update available. 5. If no update available, deactivate and delete plugin, then install version 2.4+ from official repository.

🔧 Temporary Workarounds

Temporary plugin deactivation

all

Disable the vulnerable plugin until patched version can be installed

wp plugin deactivate wp-jobhunt

Restrict admin-ajax.php access

linux

Block or restrict access to admin-ajax.php endpoint via web application firewall or .htaccess

# Add to .htaccess: 
<Files "admin-ajax.php">
Order Deny,Allow
Deny from all
Allow from 192.168.0.0/16
</Files>

🧯 If You Can't Patch

  • Implement web application firewall rules to block suspicious AJAX requests to admin-ajax.php
  • Enable strong password policies and multi-factor authentication to reduce impact of password resets

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel → Plugins → WP-jobhunt version. If version is below 2.4, system is vulnerable.

Check Version:

wp plugin list --name=wp-jobhunt --field=version

Verify Fix Applied:

Confirm WP-jobhunt plugin version is 2.4 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Multiple POST requests to /wp-admin/admin-ajax.php with action=cs_reset_pass
  • Unusual password reset activity in WordPress logs
  • Failed login attempts followed by password reset requests

Network Indicators:

  • HTTP POST requests to admin-ajax.php with cs_reset_pass parameter
  • Unusual traffic patterns to WordPress admin endpoints from external IPs

SIEM Query:

source="wordpress.log" AND "admin-ajax.php" AND "cs_reset_pass"

🔗 References

📤 Share & Export