Time-of-check Time-of-use (TOCTOU) Race Condition Affecting froxlor/froxlor package, versions <2.3.12


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-FROXLORFROXLOR-20158675
  • published27 Sept 2026
  • disclosed26 Sept 2026
  • creditUnknown

Introduced: 26 Sep 2026

NewCVE-2026-100713  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade froxlor/froxlor to version 2.3.12 or higher.

Overview

froxlor/froxlor is a server administration software.

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition through a race condition in the SshKeys::generateFiles process. An attacker can gain unauthorized root access by atomically replacing their ~/.ssh directory with a symlink after the initial validation but before the privileged write operation, causing the cron job to append their public key to /root/.ssh/authorized_keys and change ownership of /root/.ssh to the attacker. This is only exploitable if the non-default setting system.allow_customer_shell=1 is enabled, granting customers local shell access.

References

CVSS Base Scores

version 4.0
version 3.1