CVE Catalog

CVE-2025-30007

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.08%

79th percentile - higher than 79% of all known CVEs

Summary

HestiaCP before version 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_dns_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.

Risk Assessment

The risk to the organization is critical because an attacker with low privileges can fully compromise the HestiaCP server, leading to breach of data confidentiality, integrity, and availability, as well as potential lateral movement to other systems in the network.

Recommendation

Immediately upgrade HestiaCP to version 1.9.5 or later, which includes a fix for this vulnerability. Additionally, consider restricting user privileges and monitoring logs for suspicious DNS record operations.

Other vulnerabilities in HestiaCP

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS