p PatchFirst

CVE-2024-58383

CVE-2024-58383 · Froxlor before 2.2.0 Insecure File Permissions mysql.conf

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.4 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • froxlor

    Versions
    • ≥ 0, < 2.2.0: Affected (semver)
    • 2.2.0: Not affected (semver)

    Update to 2.2.0

  • froxlor/froxlor Packagist

    Versions
    • 0.10.0
    • 0.10.0-rc1
    • 0.10.0-rc2
    • 0.10.1
    • 0.10.10
    • 0.10.11
    • 0.10.12
    • 0.10.13
    • 0.10.14
    • 0.10.15
    • 0.10.16
    • 0.10.17
    • 0.10.18
    • 0.10.19
    • 0.10.2
    • 0.10.20
    • 0.10.21
    • 0.10.22
    • 0.10.23
    • 0.10.23.1
    • 0.10.24
    • 0.10.25
    • 0.10.26
    • 0.10.27
    • 0.10.28
    • 0.10.29
    • 0.10.29.1
    • 0.10.3
    • 0.10.30
    • 0.10.31
    • 0.10.32
    • 0.10.33
    • 0.10.34
    • 0.10.34.1
    • 0.10.35
    • 0.10.35.1
    • 0.10.36
    • 0.10.37
    • 0.10.38
    • 0.10.38.1
    • 0.10.38.2
    • 0.10.38.3
    • 0.10.4
    • 0.10.5
    • 0.10.6
    • 0.10.7
    • 0.10.8
    • 0.10.9
    • 2.0.0
    • 2.0.1
    • 2.0.10
    • 2.0.11
    • 2.0.12
    • 2.0.13
    • 2.0.14
    • 2.0.15
    • 2.0.16
    • 2.0.17
    • 2.0.18
    • 2.0.19
    • 2.0.2
    • 2.0.20
    • 2.0.21
    • 2.0.22
    • 2.0.23
    • 2.0.24
    • 2.0.3
    • 2.0.4
    • 2.0.5
    • 2.0.6
    • 2.0.7
    • 2.0.8
    • 2.0.9
    • 2.1.0
    • 2.1.0-beta1
    • 2.1.0-beta2
    • 2.1.0-rc1
    • 2.1.0-rc2
    • 2.1.0-rc3
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.1.4
    • 2.1.5
    • 2.1.6
    • 2.1.7
    • 2.1.8
    • 2.1.9
    • 2.2.0-rc1
    • 2.2.0-rc2
    • 2.2.0-rc3
    Affected ranges
    • ECOSYSTEM: < 2.2.0

    Update to 2.2.0

Original sources

Check your server →