---
id: CVE-2024-58383
title: >-
  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
summary: >-
  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. O…
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L'
cwe:
  - CWE-732
vendor: froxlor
product: froxlor
affected:
  - froxlor < 2.2.0
published: '2026-09-14'
updated: '2026-09-23'
sourceUpdated: '2026-09-23T17:17:44.470'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-58383'
references:
  - url: 'https://github.com/froxlor/froxlor/security/advisories/GHSA-34qg-65m4-f23m'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/froxlor-before-2.2.0-insecure-file-permissions-mysql-conf
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00102
epssPercentile: 0.00848
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-20T00:13:08.183938Z'
ingestedAt: '2026-09-14T15:23:07.431Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
