HestiaCP before 1.9.5 contains an authenticated OS command injection vulnerability that allows low-privilege authenticated users to execute arbitrary commands as root by injecting a single-quote character into unvalidated DNS record types. Attackers can exploit insufficient input validation in is_dns_record_format_valid() combined with unsafe eval-based parsing in update_domain_zone() to prematurely close a variable assignment string and achieve full root code execution on the underlying host in a single DNS record creation step.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XHestiacp Control Panel
APPHestiacp< 1.9.5
Related vulnerabilities
Command Injection w HestiaCP — RCE jako root przez nisko uprzywilejowane konto
Błędny operator porównania ciągów w Hestia Control Panel
Privilege Chaining in GitHub repository hestiacp/hestiacp prior to 1.8.9.
Incorrect Privilege Assignment in GitHub repository hestiacp/hestiacp prior to 1.6.6.
Improper Control of Generation of Code ('Code Injection') in GitHub repository hestiacp/hestiacp prior to 1.6....