CVE-2024-58383 Details
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.
A vulnerability exists in Froxlor versions prior to 2.2.0 (up to and including 2.2.0-rc3) that relates to improper file permissions for the MySQL configuration file used by pure-ftpd. The application generates the file '/etc/pure-ftpd/db/mysql.conf' with a permission mode of 0644, exposing sensitive information such as the Froxlor SQL user's password. This issue is particularly problematic on Debian 12, where the default settings allow world-readable access to the parent directories. As a result, any unprivileged local user, including virtual users without SSH access who can upload PHP or CGI scripts, can read the file and retrieve the Froxlor database credentials. This database access can be exploited to modify an administrator's password hash and TOTP seed, log in as a Froxlor administrator, and ultimately gain root privileges.
Users can update to Froxlor version 2.2.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 14, 2026CISA-ADP
Assessed Sep 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-732 | Incorrect Permission Assignment for Critical Resource | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Froxlor | <= 2.2.0-rc3 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 27, 2026 | CVE Translated | [email protected] |
| Oct 8, 2026 | CVE Modified | [email protected] |
| Sep 20, 2026 | CVE Modified | CISA-ADP |
| Sep 14, 2026 | New CVE Received | [email protected] |
Volerion