Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-58163: CWE-502: Deserialization of Untrusted Data in freescout-help-desk freescout

0
High
VulnerabilityCVE-2025-58163cvecve-2025-58163cwe-502
Published: Wed Sep 03 2025 (09/03/2025, 01:34:16 UTC)
Source: CVE Database V5
Vendor/Project: freescout-help-desk
Product: freescout

Description

FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Versions 1.8.185 and earlier contain a deserialization of untrusted data vulnerability that allows authenticated attackers with knowledge of the application's APP_KEY to achieve remote code execution. The vulnerability is exploited via endpoint, e.g.: `/help/{mailbox_id}/auth/{customer_id}/{hash}/{timestamp}` where the `customer_id` and `timestamp` parameters are processed through the decrypt function in `app/Helper.php` without proper validation. The code decrypts using Laravel's built-in encryption functions, which subsequently deserialize the decrypted payload without sanitization, allowing attackers to craft malicious serialized PHP objects using classes to trigger arbitrary command execution. This is fixed in version 1.8.186.

AI-Powered Analysis

AILast updated: 09/10/2025, 04:50:57 UTC

Technical Analysis

CVE-2025-58163 is a critical deserialization vulnerability affecting FreeScout, an open-source help desk and shared inbox application built on PHP's Laravel framework. Versions prior to 1.8.186 are vulnerable. The flaw arises from improper handling of decrypted data within the endpoint `/help/{mailbox_id}/auth/{customer_id}/{hash}/{timestamp}`. Specifically, the parameters `customer_id` and `timestamp` are decrypted using Laravel's built-in encryption functions in `app/Helper.php` but the decrypted payload is subsequently deserialized without adequate validation or sanitization. This allows an authenticated attacker who has knowledge of the application's APP_KEY to craft malicious serialized PHP objects. By exploiting this, the attacker can trigger arbitrary code execution on the server, effectively gaining remote code execution (RCE) capabilities. The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data), which is a common vector for remote code execution in PHP applications that unserialize untrusted input. The CVSS 4.0 score of 8.6 (high severity) reflects the network attack vector, low attack complexity, no user interaction, and the fact that the attacker requires privileges (authenticated with knowledge of APP_KEY) but can cause high confidentiality, integrity, and availability impact without scope change. No known exploits are currently reported in the wild, but the vulnerability is critical given the nature of the flaw and the potential impact on affected systems. The issue is resolved in FreeScout version 1.8.186 by presumably adding proper validation or avoiding unsafe deserialization of decrypted data.

Potential Impact

For European organizations using FreeScout versions prior to 1.8.186, this vulnerability poses a significant risk. Successful exploitation allows attackers to execute arbitrary code remotely, which can lead to full system compromise, data theft, disruption of help desk services, and lateral movement within the network. Given that FreeScout is often used to manage customer support and shared inboxes, sensitive customer data and internal communications could be exposed or manipulated. The integrity and availability of customer service operations could be severely impacted, potentially leading to reputational damage and regulatory consequences under GDPR if personal data is compromised. The requirement for attacker knowledge of the APP_KEY and authentication limits the attack surface somewhat, but insider threats or credential compromise could facilitate exploitation. The vulnerability's exploitation could also be leveraged as a foothold for further attacks targeting European enterprises, especially those in sectors relying heavily on customer support platforms.

Mitigation Recommendations

European organizations should immediately upgrade FreeScout to version 1.8.186 or later, where the vulnerability is fixed. If immediate upgrade is not feasible, organizations should restrict access to the vulnerable endpoint by implementing strict network segmentation and access controls, limiting authenticated user privileges to only those necessary, and monitoring for unusual activity around the `/help/{mailbox_id}/auth/` endpoint. Additionally, organizations should rotate the APP_KEY to invalidate any attacker knowledge of the key, though this requires careful handling to avoid service disruption. Implementing web application firewalls (WAFs) with rules to detect and block suspicious serialized payloads can provide temporary protection. Regular auditing of logs for anomalous deserialization or decryption errors can help detect exploitation attempts. Finally, organizations should conduct internal security awareness training to prevent credential compromise and enforce strong authentication mechanisms.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
GitHub_M
Date Reserved
2025-08-27T13:34:56.186Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 68b79e44ad5a09ad00eb0921

Added to database: 9/3/2025, 1:47:48 AM

Last enriched: 9/10/2025, 4:50:57 AM

Last updated: 10/15/2025, 1:46:07 PM

Views: 60

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats