All vulnerabilities

Servers and applications

GHSA-784f-pcj8-rqxp

Authenticated user can download another user's backup via username-prefix IDOR

Severity
Medium 6.5
Published
19 Nov 2026
Last changed
19 Nov 2026
Added to UpHeron
19 Nov 2026
Fixed in
1.10.7
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Sources
Project advisories (GitHub)

Description

web/download/backup/index.php authorizes non-admin backup downloads with strpos($backup, $_SESSION["user"] . ".") === 0 while backup archives are named $user..tar. An authenticated user whose username is a dotted prefix of another account (e.g. bob vs bob.smith) can download the victim's backup archive. Verified on HestiaCP 1.10.5 in a local Docker lab: control request denied, exploit request returned the victim tar with a planted secret. CWE-639 / CWE-863; suggested severity High (CVSS 3.1 6.5 with AC:L once a nested username exists; Moderately harder on greenfield installs because v-add-user currently rejects new dotted usernames).

Location: web/download/backup/index.php lines 37-42 (non-admin branch) Backup naming: func/backup.sh ($BACKUP/$user.$backup_new_date.tar)

Vulnerable check (current main / 1.10.5 panel code):

Why this is wrong:

From hestiacp/hestiacp's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Hestia Control PanelServers and applications · github:hestiacp/hestiacp
  • Every version before 1.10.7

About Hestia Control Panel

Hestia Control Panel | A lightweight and powerful control panel for the modern web.

From its GitHub repository.
GitHub stars
4,578GitHub, 15 Nov 2026
Forks
964GitHub, 15 Nov 2026
Latest release
1.10.7GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
License
GPL-3.0GitHub
First published on GitHub
7 Nov 2018GitHub

References