Description
Froxlor before 2.2.0 (affected up to and including 2.2.0-rc3) generates /etc/pure-ftpd/db/mysql.conf with mode 0644 via the XML configuration templates in lib/configfiles/, even though the file contains the Froxlor SQL user's password. On systems where the parent directories are world readable (the default on Debian 12), any unprivileged local user able to execute commands or code on the host — including virtual users without SSH access who can upload PHP/CGI scripts — can read the file and obtain the Froxlor database credentials. Database access can then be leveraged to alter an administrator's password hash and TOTP seed, log in as a Froxlor administrator, and ultimately gain root privileges. Only instances configured to use pure-ftpd are affected.
Published: 2026-09-14
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: Privilege Escalation to Root
Action: Patch Immediately
AI Analysis

Impact

Froxlor versions prior to 2.2.0 generate the database configuration file /etc/pure‑ftpd/db/mysql.conf with permissions 0644 while the file contains the MySQL user password set by Froxlor. A local user who can execute code on the host, including virtual FTP users who can upload PHP or CGI scripts, can read this file. With the database credentials the attacker can connect to the Froxlor database, alter an administrator’s password hash and TOTP seed, log in as an administrator, and eventually gain root privileges. This behavior is an example of the CWE‑732 weakness of insecure file permissions. The impact is therefore a complete escalation of privileges from an unprivileged local user to the root user.

Affected Systems

Froxlor installations older than 2.2.0, including release candidates up to 2.2.0‑rc3, are affected when the system is configured to use pure‑ftpd. The vulnerability is present on systems that have the default Debian 12 directory permissions, where parent directories of /etc/pure‑ftpd/db are world readable. Only Froxlor deployments using pure‑ftpd are impacted; other FTP backends are not affected.

Risk and Exploitability

The CVSS score of 8.4 assigns this vulnerability a high severity rating. EPSS data is not available, but the lack of a remote component means that exploitation requires a local, unprivileged user and can be carried out if that user can run code on the host, which is common in shared hosting scenarios. The vulnerability is not listed in the CISA KEV catalog. The attack vector is local, and the exploitation path involves reading a file with sensitive credentials, connecting to a database without additional authentication, and performing privileged database operations.

Generated by OpenCVE AI on September 14, 2026 at 20:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Froxlor 2.2.0‑rc4 or later, where the file permission issue is fixed.
  • If an upgrade cannot be performed immediately, change the permissions of /etc/pure‑ftpd/db/mysql.conf to 0600 and ensure that all parent directories are not world readable so that only privileged users can access the file.
  • Discontinue use of pure‑ftpd in the Froxlor configuration or switch to an alternative FTP server that properly secures credential files.

Generated by OpenCVE AI on September 14, 2026 at 20:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 14 Sep 2026 13:00:00 +0000

Type Values Removed Values Added
Description Froxlor before 2.2.0 (affected up to and including 2.2.0-rc3) generates /etc/pure-ftpd/db/mysql.conf with mode 0644 via the XML configuration templates in lib/configfiles/, even though the file contains the Froxlor SQL user's password. On systems where the parent directories are world readable (the default on Debian 12), any unprivileged local user able to execute commands or code on the host — including virtual users without SSH access who can upload PHP/CGI scripts — can read the file and obtain the Froxlor database credentials. Database access can then be leveraged to alter an administrator's password hash and TOTP seed, log in as a Froxlor administrator, and ultimately gain root privileges. Only instances configured to use pure-ftpd are affected.
Title Froxlor before 2.2.0 Insecure File Permissions mysql.conf
First Time appeared Froxlor
Froxlor froxlor
Weaknesses CWE-732
CPEs cpe:2.3:a:froxlor:froxlor:*:*:*:*:*:*:*:*
Vendors & Products Froxlor
Froxlor froxlor
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'}

cvssV4_0

{'score': 8.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-14T12:48:23.488Z

Reserved: 2026-08-16T13:02:14.691Z

Link: CVE-2024-58383

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-14T13:17:15.150

Modified: 2026-09-14T13:17:15.150

Link: CVE-2024-58383

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-14T20:15:06Z

Weaknesses
  • CWE-732

    Incorrect Permission Assignment for Critical Resource