CVE-2024-2088
📋 TL;DR
The NextScripts Social Networks Auto-Poster WordPress plugin has an information disclosure vulnerability that allows authenticated users with subscriber-level access or higher to extract sensitive API keys and secrets for social networks. This affects all versions up to and including 4.4.3. Attackers could use these credentials to post unauthorized content or access connected social media accounts.
💻 Affected Systems
- NextScripts: Social Networks Auto-Poster WordPress plugin
📦 What is this software?
⚠️ Risk & Real-World Impact
Worst Case
Attackers gain full control of connected social media accounts, post malicious content, steal private data, and potentially pivot to compromise other systems using exposed credentials.
Likely Case
Attackers extract API keys and secrets to post spam or phishing content from legitimate accounts, damaging reputation and potentially leading to account suspension.
If Mitigated
With proper access controls and monitoring, impact is limited to temporary account misuse that can be quickly detected and revoked.
🎯 Exploit Status
Exploitation requires authenticated access but only at subscriber level, which is trivial to obtain on many WordPress sites.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 4.4.4
Vendor Advisory: https://plugins.trac.wordpress.org/changeset/3084635/social-networks-auto-poster-facebook-twitter-g/trunk/inc/nxs_functions_wp.php?contextall=1
Restart Required: No
Instructions:
1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'NextScripts: Social Networks Auto-Poster'. 4. Click 'Update Now' if available, or download version 4.4.4+ from WordPress repository. 5. Activate the updated plugin.
🔧 Temporary Workarounds
Disable vulnerable function via code modification
allTemporarily disable the nxs_getExpSettings function until patching is possible
Edit wp-content/plugins/social-networks-auto-poster-facebook-twitter-g/inc/nxs_functions_wp.php and comment out or remove the vulnerable function
Restrict user registration
allPrevent new subscriber accounts from being created
Set 'Anyone can register' to false in WordPress Settings > General
🧯 If You Can't Patch
- Immediately rotate all social media API keys and secrets stored in the plugin
- Temporarily deactivate the plugin and remove all user accounts with subscriber or higher privileges
🔍 How to Verify
Check if Vulnerable:
Check WordPress admin panel > Plugins > Installed Plugins for 'NextScripts: Social Networks Auto-Poster' version 4.4.3 or lower
Check Version:
wp plugin list --name='social-networks-auto-poster-facebook-twitter-g' --field=version
Verify Fix Applied:
Confirm plugin version is 4.4.4 or higher in WordPress admin panel
📡 Detection & Monitoring
Log Indicators:
- Unusual API calls to social networks from unexpected IPs
- Multiple failed authentication attempts followed by successful subscriber login
- Unusual POST requests to WordPress admin-ajax.php with nxs_getExpSettings parameter
Network Indicators:
- Outbound connections to social media APIs from WordPress server at unusual times
- Traffic patterns suggesting credential harvesting
SIEM Query:
source="wordpress" AND (uri_path="/wp-admin/admin-ajax.php" AND parameters CONTAINS "nxs_getExpSettings")
🔗 References
- https://plugins.trac.wordpress.org/browser/social-networks-auto-poster-facebook-twitter-g/trunk/inc/nxs_functions_wp.php#L620
- https://plugins.trac.wordpress.org/changeset/3084635/social-networks-auto-poster-facebook-twitter-g/trunk/inc/nxs_functions_wp.php?contextall=1
- https://www.wordfence.com/threat-intel/vulnerabilities/id/70724bc7-c1f4-4965-8bba-99b2ed21d34b?source=cve
- https://plugins.trac.wordpress.org/browser/social-networks-auto-poster-facebook-twitter-g/trunk/inc/nxs_functions_wp.php#L620
- https://plugins.trac.wordpress.org/changeset/3084635/social-networks-auto-poster-facebook-twitter-g/trunk/inc/nxs_functions_wp.php?contextall=1
- https://www.wordfence.com/threat-intel/vulnerabilities/id/70724bc7-c1f4-4965-8bba-99b2ed21d34b?source=cve