CVE-2025-58163: FreeScout's deserialization of untrusted data can lead to Remote Code Execution
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 APPKEY to achieve remote code execution. The vulnerability is exploited via endpoint, e.g.: /help/{mailboxid}/auth/{customerid}/{hash}/{timestamp} where the customerid 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-58163?
CVE-2025-58163 is considered a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-58163?
To fix CVE-2025-58163, upgrade FreeScout to version 1.8.186 or later.
Who is affected by CVE-2025-58163?
CVE-2025-58163 affects FreeScout versions 1.8.185 and below.
What type of vulnerability is CVE-2025-58163?
CVE-2025-58163 is a deserialization vulnerability that can lead to remote code execution.
Are any user credentials required to exploit CVE-2025-58163?
Yes, exploitation of CVE-2025-58163 requires authenticated access and knowledge of the application's APP_KEY.