CVE-2024-29185CWE-78

FreeScout OS Command Injection vulnerability

Critical · published March 22, 2024

CVSS v3.1
9.1
EPSS
2%
Percentile
77.4
In the wild
Unconfirmed
What it is

🔥 An attacker can execute any OS command on your FreeScout server by manipulating a single parameter in the tools.php file! Think of it like a cafe where the barista trusts a customer to dictate the lunch specials without checking — if that customer has insider info, they can order anything, including the entire menu behind the counter! This OS Command Injection vulnerability could allow an attacker to run any command they desire on your server, leading to complete compromise of the system. Imagine them extracting sensitive files, like the /etc/passwd file, giving them the keys to the entire operation. It's an absolute disaster waiting to happen!

Put simply

Think of it like a cafe where the barista trusts a customer to dictate the lunch specials without checking — if that customer has insider info, they can order anything, including the entire menu behind the counter! Versions prior to 1.8.128 of FreeScout contain an OS Command Injection vulnerability due to the unvalidated execution of the php_path parameter in the tools.php file using shell_exec. If an attacker knows the `App_Key`, they can leverage this flaw for full server takeover.

What to do

This OS Command Injection vulnerability could allow an attacker to run any command they desire on your server, leading to complete compromise of the system. Imagine them extracting sensitive files, like the /etc/passwd file, giving them the keys to the entire operation. It's an absolute disaster waiting to happen! Immediately upgrade to FreeScout version 1.8.128 to patch this vulnerability. Additionally, review your application’s security settings and ensure no unnecessary exposure of sensitive parameters like `App_Key`. It's critical to audit your server for any suspicious activity as a precaution! You've got this! Take these steps to lock down your FreeScout and keep your server safe! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01731 · 77.4th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2024-03-22T17:03Z
EPSS history
Timeline
  • 22 MAR 17:03Z
    FreeScout OS Command Injection vulnerability
    cvelistv5