Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| hestiacp / hestiacp | affected 0 before 1.10.5 |
CWE
CWE-863
References
- https://github.com/hestiacp/hestiacp/security/advisories/GHSA-vp7q-fjv5-5vg8
- https://github.com/hestiacp/hestiacp/blob/1.10.4/web/add/cron/index.php#L11-L70
- https://github.com/hestiacp/hestiacp/blob/1.10.4/web/inc/policies.php#L3-L14
- https://github.com/hestiacp/hestiacp/commit/1af7e057cd5ad2ea945acba6c9932ea1a1802c24
- https://github.com/hestiacp/hestiacp/releases/tag/1.10.5
- https://www.vulncheck.com/advisories/hestiacp-before-1.10.5-protected-admin-bypass-via-cron-job-creation
ADP enrichment
No English description supplied.