(0Day) CentOS Web Panel ajax_admin_apis line Command Injection Remote Code Execution Vulnerability

2020-06-25T00:00:00
ID ZDI-20-754
Type zdi
Reporter @PaulosYibelo & CasperTea
Modified 2020-06-25T00:00:00

Description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of CentOS Web Panel. Authentication is not required to exploit this vulnerability. The specific flaw exists within ajax_admin_apis.php. When parsing the line parameter, the process does not properly validate a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root.