8.6high
FreeScout's deserialization of untrusted data can lead to Remote Code Execution
- Severity
- 8.6high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.78% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| freescout-help-desk freescout | < 1.8.186 | CVE List |
| freescout freescout | before 1.8.186 | NVD |
All scores
| GitHub_M | 8.6high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
FreeScout es una mesa de ayuda gratuita y una bandeja de entrada compartida construida con el framework Laravel de PHP. Las versiones 1.8.185 y anteriores contienen una vulnerabilidad de deserialización de datos no confiables que permite a atacantes autenticados con conocimiento de la APP_KEY de la aplicación lograr la ejecución remota de código. La vulnerabilidad se explota a través del endpoint, p. ej.: '/help/{mailbox_id}/auth/{customer_id}/{hash}/{timestamp}' donde los parámetros 'customer_id' y 'timestamp' se procesan a través de la función decrypt en 'app/Helper.php' sin la validación adecuada. El código descifra utilizando las funciones de cifrado integradas de Laravel, que posteriormente deserializan la carga útil descifrada sin sanitización, permitiendo a los atacantes crear objetos PHP serializados maliciosos utilizando clases para desencadenar la ejecución arbitraria de comandos. Esto se corrige en la versión 1.8.186.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-58163 changed 2025-09-03 | CVE Terms of Use |
| NVD | CVE-2025-58163 changed 2026-10-19 | Public domain |