CRITICAL🇵🇱 Wersja polska

CVE-2024-29185

CVSS 9.0v3.1pub. 2024-03-22upd. 2025-01-10

FreeScout is a self-hosted help desk and shared mailbox. Versions prior to 1.8.128 are vulnerable to OS Command Injection in the /public/tools.php source file. The value of the php_path parameter is being executed as an OS command by the shell_exec function, without validating it. This allows an adversary to execute malicious OS commands on the server. A practical demonstration of the successful command injection attack extracted the /etc/passwd file of the server. This represented the complete compromise of the server hosting the FreeScout application. This attack requires an attacker to know the `App_Key` of the application. This limitation makes the Attack Complexity to be High. If an attacker gets hold of the `App_Key`, the attacker can compromise the Complete server on which the application is deployed. Version 1.8.128 contains a patch for this issue.

🤖 AI Analysis
How it works

The php_path parameter passed to the /public/tools.php file is passed directly without any validation to the shell_exec() function, allowing the attacker to inject and execute arbitrary operating system commands. A necessary condition is knowledge of the application key App_Key, which classifies the attack complexity as high (High). A practical demonstration of the vulnerability showed the ability to read the /etc/passwd file, confirming complete server compromise.

Impact

An attacker who knows the application's App_Key can execute arbitrary system commands on the server and gain full control of the machine hosting FreeScout, including access to sensitive data and the ability to further operate within the infrastructure.

Mitigation & patch

FreeScout should be updated to version 1.8.128 or later, which contains a patch eliminating the vulnerability. Additionally, it is recommended to rotate the App_Key and restrict network access to the /public/tools.php file.

Who is affected

FreeScout in versions earlier than 1.8.128

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Freescout

    APP
    Freescout
    < 1.8.128
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
Tags
Command Injection
CWE
References

Related vulnerabilities

CVE-2026-32754CRITICAL9.3PL ✓same product

FreeScout: Stored XSS w szablonach powiadomień e-mail umożliwia przejęcie kont

CVE-2026-28289CRITICAL10.0PL ✓same product

FreeScout: bypass zabezpieczeń uploadu pliku prowadzący do RCE

CVE-2026-27637CRITICAL9.8PL ✓same product

FreeScout: przewidywalny token uwierzytelniający umożliwia przejęcie konta

CVE-2026-40496HIGH8.8same product

FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, attachment download to...

CVE-2026-40497HIGH8.1same product

FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.213, FreeScout's `Helper::s...