All vulnerabilities

Servers and applications

GHSA-jpg6-j246-v2jh

Customer symlink chain bypasses Froxlor's one-level makeCorrectDir check; root cron chown -R takes over arbitrary directories

Severity
Critical 9.9
Published
23 Nov 2026
Last changed
23 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.3.17
Weakness
Link following (CWE-59)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Froxlor's FileDir::makeCorrectDir() enforces that a customer-supplied path stays inside the customer home directory by walking each path component and, when a component is a symbolic link, resolving it with a single readlink() call and comparing the result against the home directory prefix. Because readlink() returns only the immediate link target, a two hop symlink chain (a link inside the home directory that points to a second link, which in turn points outside) passes validation: the first hop resolves to a path that is lexically inside the home directory, and the intermediate target is never re-examined as a link. Any authenticated hosting customer with FTP or SSH access to their own home directory can plant such a chain and reach a privileged code path where a root-run cron executes chown -R against the attacker-chosen target, taking ownership of arbitrary directories on the host (for example /etc), which escalates a tenant customer to effective root.

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

Affected software

SoftwareAffected versions
FroxlorServers and applications · github:froxlor/froxlor
  • From 2.1.0 before 2.3.17

About Froxlor

The server administration software for your needs - The official Froxlor development Git repository

From its GitHub repository.
Monthly downloads (Packagist)
189Packagist, 22 Nov 2026
Total downloads (Packagist)
512Packagist, 22 Nov 2026
GitHub stars
1,753GitHub, 22 Nov 2026
Forks
467GitHub, 22 Nov 2026
Latest release
2.3.17GitHub, 22 Nov 2026
Released
8 Nov 2026GitHub
License
GNU Lesser General Public License, version 2.1Wikidata
Written in
PHPWikidata
First published on GitHub
6 Mar 2012GitHub

References