vendor:
Zentao Project Management System
by:
mister0xf
7.5
CVSS
HIGH
Authenticated Remote Code Execution (RCE)
78
CWE
Product Name: Zentao Project Management System
Affected Version From: 17
Affected Version To: Unknown
Patch Exists: NO
Related CWE:
CPE: a:easysoft:zentaopms:17.0
Platforms Tested: Kali Linux 2022.2
2022
Zentao Project Management System 17.0 – Authenticated Remote Code Execution (RCE)
Zentao Project Management System 17.0 suffers from an authenticated command injection allowing remote attackers to obtain Remote Code Execution (RCE) on the hosting webserver. The vulnerability lies in the 'model.php' file, specifically in the 'elseif($scm == 'Git')' section. The 'client' parameter, taken from the POST request, is not properly sanitized before being used in a command. An attacker can inject arbitrary commands into the '$client tag' command, leading to command execution.
Mitigation:
To mitigate this vulnerability, it is recommended to sanitize and validate user input before using it in any command or query. Additionally, the use of least privilege principle should be enforced, ensuring that the web server process has minimal privileges necessary to perform its tasks.