All vulnerabilities

Servers and applications

GHSA-2wjc-6mgx-hq42

DataDump export cron follows intermediate symlinks — customer gains ownership of arbitrary directories via root `chown -R` (incomplete fix of GHSA-75h4)

Severity
High
Published
6 Sept 2026
Last changed
6 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.3.12
Weakness
Link following (CWE-59)
Sources
Project advisories (GitHub)

Description

The GHSA-75h4 fix guards the customer data-export cron against symlinked destinations with a final-component is_link() check and a cron-time revalidation walk — but the walk is off-by-one for trailing-slash base paths and never inspects the first path segment. A customer schedules an export into a genuine subdirectory of their webspace, swaps an intermediate path component for a symlink before the root cron runs, and the cron's chown -R recursively changes ownership of the linked tree — e.g. /etc — to the customer. Deterministic; no race required.

Two compounding defects:

$fixed_homedir always ends in / in cron code (output of makeCorrectDir), so the +1 decapitates the first character of the first segment below the base: that segment is never is_link()-checked, and later segments are checked at shifted (wrong) prefixes. The sibling makeCorrectFile() (FileDir.php:400, no +1) does not have the defect.

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

Affected software

SoftwareAffected versions
FroxlorServers and applications · github:froxlor/froxlor
  • Every version before 2.3.12

About Froxlor

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

From its GitHub repository.
Monthly downloads (Packagist)
159Packagist, 15 Nov 2026
Total downloads (Packagist)
406Packagist, 15 Nov 2026
GitHub stars
1,752GitHub, 15 Nov 2026
Forks
467GitHub, 15 Nov 2026
Latest release
2.3.17GitHub, 15 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