CVE-2024-12525

6.4 MEDIUM

📋 TL;DR

This stored XSS vulnerability in the Easy MLS Listings Import WordPress plugin allows authenticated attackers with contributor-level access or higher to inject malicious scripts into website pages. The scripts execute whenever users visit compromised pages, potentially stealing credentials or performing unauthorized actions. All WordPress sites using this plugin up to version 2.0.1 are affected.

💻 Affected Systems

Products:
  • Easy MLS Listings Import WordPress Plugin
Versions: All versions up to and including 2.0.1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Contributor-level authentication is required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator credentials, deface websites, redirect users to malicious sites, or install backdoors for persistent access.

🟠

Likely Case

Attackers with contributor accounts inject malicious scripts to steal user session cookies or credentials, potentially escalating privileges.

🟢

If Mitigated

With proper access controls limiting contributor accounts and input validation, impact is limited to isolated script execution without data compromise.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploitation requires authenticated access but is technically simple once an attacker has contributor-level credentials.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 2.0.2 or later

Vendor Advisory: https://plugins.trac.wordpress.org/browser/easy-mls-listings-import/trunk/includes/class-homeasap-featured-listings-loader.php

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Easy MLS Listings Import'. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate easy-mls-listings-import

Restrict Contributor Access

all

Temporarily remove contributor-level user accounts or restrict their permissions

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block XSS payloads in shortcode attributes
  • Enable Content Security Policy (CSP) headers to restrict script execution sources

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Easy MLS Listings Import > Version. If version is 2.0.1 or lower, you are vulnerable.

Check Version:

wp plugin get easy-mls-listings-import --field=version

Verify Fix Applied:

After updating, verify plugin version shows 2.0.2 or higher in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to WordPress admin-ajax.php with homeasap-featured-listings parameters
  • Multiple failed login attempts followed by successful contributor-level login

Network Indicators:

  • HTTP requests containing script tags or JavaScript in shortcode attribute parameters

SIEM Query:

source="wordpress.log" AND ("homeasap-featured-listings" OR "easy-mls") AND ("script" OR "javascript" OR "onclick")

🔗 References

📤 Share & Export