{"id":"CVE-2025-48390","published":"2025-05-29T15:15:03Z","modified":"2025-05-30T22:03:12Z","title":"FreeScout Vulnerable to Remote Code Execution (RCE)","vendor":"freescout-help-desk","product":"freescout","tier":"tail","description":{"text":"FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.178, FreeScout is vulnerable to code injection due to insufficient validation of user input in the php_path parameter. The backticks characters are not removed, as well as tabulation is not removed. When checking user input, the file_exists function is also called to check for the presence of such a file (folder) in the file system. A user with the administrator role can create a translation for the language, which will create a folder in the file system. Further in tools.php, the user can specify the path to this folder as php_path, which will lead to the execution of code in backticks. This issue has been patched in version 1.8.178.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0121,"percentile":0.6834,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/freescout-help-desk/freescout/security/advisories/GHSA-5324-cw55-gwj5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/freescout-help-desk/freescout/commit/fb33d672a2d67f5a2b3cf69c80945267f17908b2","tags":["x_refsource_MISC"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":13.67},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"freescout-help-desk","affectedVersions":[{"vendor":"freescout-help-desk","product":"freescout","versions":["< 1.8.178"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-05-30T14:43:18.869879Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-28220","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-freescout-help-desk-freescout-cve-2025-48388","parents":[{"from":"CVE-2025-48388","to":"CVE-2025-48390","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["public/tools.php"],"commits":["https://github.com/freescout-help-desk/freescout/commit/eab97711027fff4bce90ccd2e189cbc184fa0370","https://github.com/freescout-help-desk/freescout/commit/fb33d672a2d67f5a2b3cf69c80945267f17908b2"],"basis":"shared function","functions":["clearCache"]}]}]}}