CVE-2025-30908

7.1 HIGH

📋 TL;DR

A Cross-Site Request Forgery (CSRF) vulnerability in Shamalli Web Directory Free WordPress plugin allows attackers to inject malicious scripts via forged requests. When exploited, this can lead to stored cross-site scripting (XSS) attacks. This affects all WordPress sites running Web Directory Free plugin versions up to 1.7.6.

💻 Affected Systems

Products:
  • Shamalli Web Directory Free WordPress Plugin
Versions: n/a through 1.7.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress installation with the vulnerable plugin enabled. Attack requires user interaction with malicious content.

⚠️ 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 inject persistent malicious scripts that execute in users' browsers, potentially stealing session cookies, credentials, or performing actions as authenticated users, leading to complete site compromise.

🟠

Likely Case

Attackers create fake admin requests to inject malicious JavaScript into directory listings, which executes when users view those listings, potentially hijacking sessions or redirecting users to malicious sites.

🟢

If Mitigated

With proper CSRF protections and input validation, the attack would fail, preventing script injection and maintaining site integrity.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires tricking authenticated users into clicking malicious links. The CSRF-to-XSS chain makes weaponization straightforward.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.7.7 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/web-directory-free/vulnerability/wordpress-web-directory-free-plugin-1-7-6-csrf-to-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Web Directory Free' and click 'Update Now'. 4. Verify version is 1.7.7 or higher.

🔧 Temporary Workarounds

Disable Plugin

all

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate web-directory-free

Implement CSRF Tokens

all

Add CSRF protection to plugin forms if custom modifications are possible

🧯 If You Can't Patch

  • Implement web application firewall (WAF) rules to block CSRF and XSS patterns
  • Restrict plugin access to trusted users only and monitor for suspicious directory submissions

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin panel > Plugins > Installed Plugins for Web Directory Free version 1.7.6 or earlier

Check Version:

wp plugin get web-directory-free --field=version

Verify Fix Applied:

Verify plugin version is 1.7.7 or higher in WordPress admin panel

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to web-directory-free admin endpoints
  • Multiple directory submissions from single IP
  • JavaScript injection patterns in directory content

Network Indicators:

  • CSRF attack patterns in HTTP requests
  • Unexpected redirects from directory pages

SIEM Query:

source="wordpress.log" AND ("web-directory-free" OR "wp-admin/admin-ajax.php") AND (POST OR "action=submit")

🔗 References

📤 Share & Export