CVE-2024-58383 PUBLISHED

Froxlor before 2.2.0 Insecure File Permissions mysql.conf

Assigner: VulnCheck
Reserved: 16.08.2026 Published: 14.09.2026 Updated: 14.09.2026

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.

Metrics

CVSS 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
CVSS Score: 8.4

Product Status

Vendor froxlor
Product froxlor
Versions Default: unaffected
  • affected from 0 to 2.2.0 (excl.)
  • Version 2.2.0 is unaffected

Credits

  • hardfalcon reporter

References

Problem Types

  • Incorrect Permission Assignment for Critical Resource CWE