CVE-2024-12457
📋 TL;DR
This stored XSS vulnerability in the Chat Support for Viber WordPress plugin allows authenticated attackers with contributor-level access or higher to inject malicious scripts via the 'vchat' shortcode. The scripts execute when users view pages containing the injected shortcode, potentially compromising visitor browsers. All WordPress sites using this plugin up to version 1.7.2 are affected.
💻 Affected Systems
- Chat Support for Viber – Chat Bubble and Chat Button for Gutenberg, Elementor and Shortcode WordPress plugin
⚠️ 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.
- Review the CVE details at NVD
- Check vendor security advisories for your specific version
- Test if the vulnerability is exploitable in your environment
- Consider updating to the latest version as a precaution
⚠️ Risk & Real-World Impact
Worst Case
Attackers could steal administrator credentials, redirect users to malicious sites, deface websites, or install malware on visitor systems through persistent script execution.
Likely Case
Attackers with contributor access inject malicious scripts to steal user session cookies, redirect users to phishing pages, or display unwanted content.
If Mitigated
With proper user access controls and content security policies, impact is limited to potential defacement or minor script injection affecting only users viewing specific pages.
🎯 Exploit Status
Exploitation requires authenticated access but is technically simple once authentication is obtained. The vulnerability is well-documented in security advisories.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 1.7.3 or later
Vendor Advisory: https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3156152%40chat-viber%2Ftrunk&old=3156151%40chat-viber%2Ftrunk
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins → Installed Plugins. 3. Find 'Chat Support for Viber' plugin. 4. Click 'Update Now' if update is available. 5. Alternatively, download version 1.7.3+ from WordPress.org and manually update.
🔧 Temporary Workarounds
Disable Plugin
allTemporarily disable the vulnerable plugin until patched
wp plugin deactivate chat-viber
Restrict Contributor Access
allRemove contributor-level users or restrict their permissions
🧯 If You Can't Patch
- Implement Content Security Policy (CSP) headers to restrict script execution
- Use web application firewall rules to block suspicious shortcode attributes
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel → Plugins → Installed Plugins for 'Chat Support for Viber' version 1.7.2 or earlier
Check Version:
wp plugin get chat-viber --field=version
Verify Fix Applied:
Verify plugin version is 1.7.3 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual POST requests to WordPress admin-ajax.php with vchat parameters
- Multiple failed contributor login attempts followed by successful login
Network Indicators:
- Outbound connections to suspicious domains from WordPress server
- Unexpected JavaScript payloads in page responses
SIEM Query:
source="wordpress.log" AND ("vchat" OR "chat-viber") AND ("POST" OR "admin-ajax")