CWE-444Weakness · CWE-444

CVE-2024-56908

MEDIUM · 6.8 CVSS v3.1 Published 2025-02-13
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
72/100
Remediation priority · Elevated
Remotely reachable

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
In Perfex Crm < 3.2.1, an authenticated attacker can send a crafted HTTP POST request to the affected upload_sales_file endpoint. By providing malicious input in the rel_id parameter, combined with improper input validation, the attacker can bypass restrictions and upload arbitrary files to directories of their choice, potentially leading to remote code execution or server compromise.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Authenticated file upload vulnerability with path traversal in Perfex CRM < 3.2.1. The upload_sales_file endpoint fails to properly validate the rel_id parameter, allowing an authenticated attacker to bypass restrictions and upload arbitrary files to arbitrary directories, potentially achieving remote code execution.

MitigationUpgrade to Perfex CRM version 3.2.1 or later. Additionally, implement strict input validation on the rel_id parameter, enforce whitelist-based directory access controls, and disable script execution in all upload directories.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Confirm Perfex CRM installation
    Check for Perfex CRM by examining the application footer, admin dashboard, or checking for perfex crm files in the web root directory.
    Affected if The target is running Perfex CRM
  2. Determine installed version
    Locate the version file (typically /application/config/app.php or similar config files in the installation root) and read the version number, or check the admin panel's 'About' or 'System Info' page.
    Affected if Version is below 3.2.1 (e.g., 3.2.0, 3.1.x, or earlier)
  3. Verify upload_sales_file endpoint exists
    Check if the endpoint /admin/uploads/upload_sales_file or similar path exists by attempting a request or examining the application's routing configuration files.
    Affected if The endpoint is accessible and responds to requests
  4. Check rel_id parameter handling
    Send a test request to the upload endpoint with a manipulated rel_id parameter containing path traversal sequences (e.g., ../../) and observe if files are written outside the intended upload directory.
    Affected if Files can be written to directories outside the intended sales uploads folder
  5. Inspect upload directory permissions and script execution
    Examine the configuration of upload directories (typically /uploads/) to determine if script execution restrictions are in place (check .htaccess, web.config, or server configuration).
    Affected if Upload directories allow execution of uploaded scripts (e.g., .php files)

A user is affected if they are running Perfex CRM version below 3.2.1 AND have the upload_sales_file endpoint accessible to authenticated users with manipulatable rel_id parameter.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to Perfex CRM version 3.2.1 or later. Additionally, implement strict input validation on the rel_id parameter, enforce whitelist-based directory access controls, and disable script execution in all upload directories.

Recommended fix High confidence

Perfex CRM 3.2.1 or later

  1. 1. Verify current Perfex CRM installation version by checking the admin dashboard or configuration files
  2. 2. Back up the entire CRM database and file system before proceeding with any upgrade
  3. 3. Download Perfex CRM version 3.2.1 or the latest stable release from the official vendor (perfexcrm.com)
  4. 4. Follow the official upgrade documentation provided by Perfex CRM to apply the update
  5. 5. After upgrade, verify that the upload_sales_file endpoint now properly validates the rel_id parameter and restricts file uploads to allowed directories
  6. 6. Test that authenticated users can only upload files to intended directories and cannot traverse paths using malicious rel_id values
  7. 7. Monitor for any unexpected behavior and review server logs for attempted exploitation attempts
Caveat Review release notes for version 3.2.1 to check for any breaking changes or required database migrations before upgrading

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
9.0 hours of engineering $1,570
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,512.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-56908 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-56908 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data