Perfex CRM Remote Code Execution Vulnerability

Vulnerability

A remote code execution vulnerability exists in Perfex CRM versions prior to 3.2.1. An authenticated attacker can exploit this issue by sending a crafted HTTP POST request to the upload_sales_file endpoint. The attack involves manipulating the rel_id parameter to bypass input validation, allowing the upload of arbitrary files to user-specified directories. This exploitation could lead to remote code execution or a complete server compromise.

Impact

Exploitation of this vulnerability allows for remote code execution on the server where Perfex CRM is hosted.

Reproduction

To reproduce this vulnerability, log into the Perfex CRM portal and navigate to the invoices section. Select any invoice and attach a new file in the notes. The vulnerability can be exploited by uploading a PHP file that executes code, using the rel_id parameter to traverse paths outside the designated upload directory.

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

Vulnerability Rating

Custom Algorithm
spread
2.6
impact
10.0
exploitability
6.2
remediation
0.0
relevance
0.0
threat
6.4
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.