Horizon Alert
Summary of the vulnerability and why it matters
A vulnerability in a WordPress plugin for contact forms could allow attackers to delete files on your web server, potentially leading to full system compromise if a critical configuration file is targeted and the PDF generator feature is enabled.
- Attackers can delete server files.
- Protects against unauthorized file deletion.
- Confirm relevance and assess exposure.
Attack Path
How an attacker could exploit the issue
An attacker can exploit this vulnerability by targeting a WordPress site where the Ultra Addons for Contact Form 7 plugin is installed and the PDF Generator add-on is active. Without needing any authentication, an attacker can manipulate a Contact Form 7 submission to trigger the vulnerable `_getObjAttr` function. This function fails to properly validate file paths, allowing an attacker to delete arbitrary files on the server. If a critical file like `wp-config.php` is deleted, it could lead to remote code execution.
- No authentication required.
- Triggers file deletion via form submission.
- Risk of arbitrary file deletion and RCE.
Live Threat
Current exploitation, exposure, and threat context
When the PDF Generator add-on is active and a Contact Form 7 form is configured for PDF generation, unauthenticated attackers could delete arbitrary files on the server. This could lead to remote code execution if critical files, like configuration files, are deleted.
- Arbitrary file deletion.
- Unauthenticated network access.
- Server compromise.
Operational Fix
Recommended remediation, mitigation, and detection steps
WordPress plugin owners and infrastructure teams are likely responsible for addressing this vulnerability. The first step is to identify all WordPress sites using the Ultra Addons for Contact Form 7 plugin, confirm if the PDF Generator add-on is active, and assess business criticality and external reachability to prioritize remediation.
- Plugin owners and infrastructure teams.
- Verify PDF Generator add-on is active.
- Plan remediation based on risk.