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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
hestiacp hestiacp
Default version status: unaffected
0 to < 1.10.5affected
pkg:github/hestiacp/hestiacpReferences
- 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 ↗