Contact Manager WordPress Plugin Unauthenticated Arbitrary File Upload Vulnerability

Vulnerability

A vulnerability exists in the Contact Manager plugin for WordPress, allowing for arbitrary file uploads. This issue arises from inadequate file type validation in the contact form upload feature, affecting all versions up to and including 8.6.4. The vulnerability enables unauthenticated attackers to upload arbitrary files to the server hosting the affected site. In certain configurations, where the first file extension is processed before the final one, this could lead to remote code execution. Additionally, exploiting this vulnerability requires successfully navigating a race condition.

Impact

The vulnerability allows for unauthenticated arbitrary file uploads, which could be exploited to execute malicious code on the server, particularly in environments where the uploaded file is processed as a script.

Reproduction

To reproduce this vulnerability, upload a file through the contact form's file upload feature, ensuring that the file has a double extension (e.g., .php.jpg). The first extension should be one that is executed by the server, such as PHP, while the second extension should be one that is typically allowed, like JPG. This can be done by renaming a file to include the double extension before uploading it. The race condition exploitation may require additional timing adjustments to successfully trigger the vulnerability.

Remediation

Users are advised to update the Contact Manager plugin to version 8.6.5 or later.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
7.2
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.