CVE-2024-29185: FreeScout OS Command Injection vulnerability
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 phppath parameter is being executed as an OS command by the shellexec 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 AppKey of the application. This limitation makes the Attack Complexity to be High. If an attacker gets hold of the AppKey, the attacker can compromise the Complete server on which the application is deployed. Version 1.8.128 contains a patch for this issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
FreeScoutto a version that resolves this vulnerability.Fixed in 1.8.128
Event History
Frequently Asked Questions
What is the severity of CVE-2024-29185?
CVE-2024-29185 is classified as a high severity vulnerability due to its potential for OS command injection.
How do I fix CVE-2024-29185?
To fix CVE-2024-29185, upgrade FreeScout to version 1.8.128 or later to eliminate the OS command injection vulnerability.
What software versions are affected by CVE-2024-29185?
CVE-2024-29185 affects FreeScout versions prior to 1.8.128.
What type of vulnerability is CVE-2024-29185?
CVE-2024-29185 is an OS Command Injection vulnerability that arises from improper handling of user inputs.
Where is the CVE-2024-29185 vulnerability located in the code?
The CVE-2024-29185 vulnerability is located in the /public/tools.php source file within FreeScout.