Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a critical vulnerability in the RapiSafe – Secure Multi File Upload for Contact Form 7 WordPress plugin. The flaw allows unauthenticated attackers to delete arbitrary files on the server, potentially leading to remote code execution by targeting critical configuration files. The ease of exploitation, due to exposed security tokens, presents a significant risk.
- Attackers can delete server files.
- Affects public-facing WordPress sites.
- Confirm plugin relevance and exposure.
Attack Path
How an attacker could exploit the issue
Attackers can target the RapiSafe – Secure Multi File Upload for Contact Form 7 WordPress plugin to delete arbitrary files on the server, potentially leading to remote code execution. This is possible because the plugin does not properly validate file paths in its AJAX removal function. An attacker can obtain a necessary nonce from publicly visible JavaScript to trigger this deletion without needing any authentication.
- No authentication required.
- Unauthenticated arbitrary file deletion.
- Leads to remote code execution.
Live Threat
Current exploitation, exposure, and threat context
An unauthenticated attacker could exploit this vulnerability to delete arbitrary files on the server. This is possible because the plugin lacks sufficient validation for file paths, and the necessary security token is exposed in public JavaScript, making it accessible to any visitor.
- Arbitrary file deletion on server.
- Path validation and exposed nonce.
- Potential remote code execution.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability in the RapiSafe plugin for WordPress impacts application owners responsible for the content management system and the specific plugin. The first practical step is to identify all WordPress sites using the RapiSafe plugin, assess if any are exposed to the internet and critical to business operations, and then coordinate remediation efforts with the relevant application or infrastructure teams.
- Application owners must confirm usage.
- Verify internet exposure and business criticality.
- Plan removal or vendor-coordinated fix.