CVE-2025-30007: HestiaCP < 1.9.5 Authenticated OS Command Injection via DNS Record Management
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.
Security readout for executives and security teams
Plain-English summary
HestiaCP before 1.9.5 lets a logged-in low-privilege user turn DNS record management into root-level command execution on the server. This can lead to full host compromise where untrusted users have panel access. The issue is high urgency, but the supplied sources do not show known active exploitation.
Executive priority
Treat this as urgent for any multi-user HestiaCP deployment. A compromised low-privilege account could become root on the hosting server, affecting hosted sites, data integrity, and service availability.
Technical view
The vulnerability is an authenticated OS command injection in DNS record handling. Insufficient validation in is_dns_record_format_valid() combines with unsafe eval-based parsing in update_domain_zone(), allowing crafted DNS record types to break parsing and execute commands as root. CVSS is 8.8 with low privileges required and no user interaction.
Likely exposure
HestiaCP instances earlier than 1.9.5 are the relevant exposure, especially shared-hosting or delegated-admin environments where low-privilege users can authenticate and manage DNS records.
Exploitation context
The provided CVE data says exploitation requires authenticated access but only low privileges. KEV is false, and the supplied sources do not cite active exploitation in the wild.
Researcher notes
Confidence is high for affected product, impact, and fixed version because the bundle includes release notes, PR, patch commit, CVE data, and a third-party advisory. Evidence is incomplete for exploitation status beyond KEV=false and the supplied sources.
Mitigation direction
Upgrade HestiaCP to version 1.9.5 or later.
Review HestiaCP 1.9.5 release notes and vendor guidance.
Restrict DNS management to trusted users until upgraded.
Audit low-privilege panel accounts for unnecessary access.
Monitor for suspicious DNS record changes on affected hosts.
Validation and detection
Inventory HestiaCP servers and identify versions before 1.9.5.
Confirm whether low-privilege users can manage DNS records.
Review DNS record creation history around the disclosure window.
Verify the patch commit or 1.9.5 release is present.
Check host logs for unexpected privileged command activity.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-78: Command execution behavior lookup
Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
0ADP providers
5Source links
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-78 · source CWE mapping
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.