Description
HestiaCP before 1.10.5 contains an authorization bypass vulnerability that allows non-ROOT_USER administrators to perform write actions while impersonating the protected ROOT_USER account. Attackers can log in via the loginas parameter and POST to /add/cron/, because the read-only flag is never checked, causing crond to run their commands as the protected administrator's system account.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| hestiacp | hestiacp | < 1.10.5 | 1.10.5 |
References
- GitHub Security Advisory (GHSA-vp7q-fjv5-5vg8) vendor-advisory
- https://github.com/hestiacp/hestiacp/blob/1.10.4/web/add/cron/index.php#L11-L70 technical-description
- https://github.com/hestiacp/hestiacp/blob/1.10.4/web/inc/policies.php#L3-L14 technical-description
- https://github.com/hestiacp/hestiacp/commit/1af7e057cd5ad2ea945acba6c9932ea1a1802c24 patch
- hestiacp 1.10.5 Release Notes release-notes
- VulnCheck Advisory: HestiaCP before 1.10.5 Protected Admin Bypass via Cron Job Creation third-party-advisory