Description
Several plugins for WordPress hosted on WordPress.org have been compromised and injected with malicious PHP scripts. A malicious threat actor compromised the source code of various plugins and injected code that exfiltrates database credentials and is used to create new, malicious, administrator users and send that data back to a server. Currently, not all plugins have been patched and we strongly recommend uninstalling the plugins for the time being and running a complete malware scan.
EPSS Score:
3%
Comprehensive Technical Analysis of EUVD-2024-47415
1. Vulnerability Assessment and Severity Evaluation
Vulnerability Description: Several WordPress plugins hosted on WordPress.org have been compromised with malicious PHP scripts. These scripts exfiltrate database credentials and create new, malicious administrator users, sending the data back to a server controlled by the threat actor.
Severity Evaluation:
- Base Score: 10.0
- Base Score Version: 3.1
- Base Score Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
The CVSS score of 10.0 indicates a critical vulnerability. The attack vector (AV:N) is network-based, requiring no user interaction (UI:N) or privileges (PR:N). The complexity is low (AC:L), and the impact on confidentiality, integrity, and availability is high (C:H/I:H/A:H). The scope is changed (S:C), meaning the vulnerability affects components beyond the security scope of the vulnerable component.
2. Potential Attack Vectors and Exploitation Methods
Attack Vectors:
- Network-Based Attacks: The vulnerability can be exploited remotely over the network.
- Supply Chain Attacks: The compromise of plugins on WordPress.org indicates a supply chain attack where the source code was tampered with before distribution.
Exploitation Methods:
- Code Injection: Malicious PHP scripts are injected into the plugin source code.
- Credential Exfiltration: The injected scripts exfiltrate database credentials.
- Privilege Escalation: New malicious administrator users are created, allowing further unauthorized access.
3. Affected Systems and Software Versions
Affected Plugins and Versions:
- Wrapper Link Elementor: Versions 1.0.2 to 1.0.3
- Social Sharing Plugin – Social Warfare: Versions 4.4.6.4 to 4.4.7.1
- BLAZE Retail Widget: Versions 2.2.5 to 2.5.2
- Simply Show Hooks: Versions 1.2.1 to 1.2.2
- Contact Form 7 Multi-Step Addon: Versions 1.0.4 to 1.0.5
Vendors:
- stuartobrien
- themerex
- warfareplugins
- blazeretail
- pedrogusmao02
4. Recommended Mitigation Strategies
-
Immediate Actions:
- Uninstall Affected Plugins: Temporarily uninstall the compromised plugins until patches are available.
- Malware Scan: Run a complete malware scan on the affected systems to detect and remove any injected scripts.
-
Long-Term Mitigation:
- Update Plugins: Ensure all plugins are updated to the latest patched versions once available.
- Regular Audits: Conduct regular security audits of all installed plugins and their source code.
- Monitoring: Implement continuous monitoring for unusual activities, especially related to database access and user creation.
- Access Controls: Enforce strict access controls and regularly review administrator accounts.
5. Impact on European Cybersecurity Landscape
The compromise of widely-used WordPress plugins poses a significant risk to the European cybersecurity landscape. Given the widespread use of WordPress, this vulnerability can affect numerous websites, including those of businesses, government agencies, and educational institutions. The potential for data breaches, unauthorized access, and further malicious activities is high, necessitating immediate and coordinated response efforts across the EU.
6. Technical Details for Security Professionals
Technical Analysis:
- Injection Points: The malicious scripts are injected into specific lines of the plugin code, as indicated in the references. For example, in the Social Warfare plugin, lines 54 and 583 are affected.
- Data Exfiltration: The injected scripts are designed to exfiltrate database credentials and send them to a remote server controlled by the threat actor.
- Privilege Escalation: The scripts create new administrator users, allowing the attacker to gain full control over the compromised WordPress sites.
References:
- Wordfence Threat Intel: Wordfence Vulnerability Report
- WordPress Support: Security Message from Plugin Review Team
- Plugin Source Code: Various links to the affected plugin source code on WordPress.org Trac.
Conclusion: This vulnerability underscores the importance of supply chain security and regular updates in maintaining the integrity of web applications. Immediate action is required to mitigate the risk, and long-term strategies should be implemented to prevent similar incidents in the future.