CVE-2024-54255

4.7 MEDIUM

📋 TL;DR

This CVE describes an open redirect vulnerability in the Login Widget With Shortcode WordPress plugin from aviplugins.com. Attackers can craft malicious URLs that redirect users to phishing sites after they interact with the login widget. All WordPress sites using this plugin version 6.1.2 or earlier are affected.

💻 Affected Systems

Products:
  • Login Widget With Shortcode WordPress plugin
Versions: n/a through 6.1.2
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects WordPress installations with this specific plugin installed and activated.

⚠️ 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

Users are redirected to convincing phishing sites that steal login credentials, leading to account compromise and potential site takeover.

🟠

Likely Case

Attackers use phishing emails or social engineering to trick users into clicking malicious links that exploit this vulnerability.

🟢

If Mitigated

With proper user awareness training and URL filtering, most users would avoid clicking suspicious links, limiting the attack's effectiveness.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

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

Open redirect vulnerabilities are commonly exploited in phishing campaigns and require minimal technical skill to weaponize.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 6.1.3 or later

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/login-sidebar-widget/vulnerability/wordpress-login-widget-with-shortcode-plugin-6-1-2-open-redirection-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Login Widget With Shortcode'. 4. Click 'Update Now' if available. 5. If no update appears, manually download version 6.1.3+ from WordPress.org and replace the plugin files.

🔧 Temporary Workarounds

Disable the plugin

all

Temporarily deactivate the vulnerable plugin until patched.

Web Application Firewall rule

all

Block redirects to external domains from the login widget endpoint.

🧯 If You Can't Patch

  • Implement URL filtering at network perimeter to block known malicious domains
  • Enable browser security features that warn about open redirects

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for 'Login Widget With Shortcode' version 6.1.2 or earlier.

Check Version:

wp plugin list --name='login-sidebar-widget' --field=version

Verify Fix Applied:

Confirm plugin version is 6.1.3 or later in WordPress admin panel.

📡 Detection & Monitoring

Log Indicators:

  • HTTP 302 redirects from /wp-content/plugins/login-sidebar-widget/ to external domains
  • Unusual spike in redirects from login pages

Network Indicators:

  • Outbound connections to suspicious domains immediately after login widget interactions

SIEM Query:

event_source:web_server AND (url_path:"/wp-content/plugins/login-sidebar-widget/" AND response_code:302 AND destination_domain NOT IN allowed_domains)

🔗 References

📤 Share & Export