All vulnerabilities

Servers and applications

GHSA-vgc5-jvp9-hxjm

Froxlor installer writes unvalidated MySQL password into a nowdoc in userdata.inc.php, enabling PHP code injection

Severity
High 8.1
Published
23 Nov 2026
Last changed
23 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.3.17
Weakness
CWE-96
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Froxlor generates its database configuration file lib/userdata.inc.php by writing the configured MySQL passwords into a PHP nowdoc that uses a fixed, hardcoded closing delimiter (EOT). The installer (the web installer at install/install.php and the CLI command bin/froxlor install --create-userdata-from-str) performs no validation of the password value against that delimiter. An attacker who can submit installer input, for example against a freshly deployed instance whose lib/userdata.inc.php has not yet been created, can supply a MySQL password that breaks out of the nowdoc and injects arbitrary PHP. Because lib/userdata.inc.php is required on every request, the injected code executes as the web server user on every subsequent page load, API call, and cron run, giving persistent remote code execution.

PhpHelper::parseArrayToString() serializes password values into a PHP file using a nowdoc whose closing marker is always the literal EOT, and it never checks whether the value itself…

From froxlor/froxlor's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FroxlorServers and applications · github:froxlor/froxlor
  • From 2.2.0 before 2.3.17

About Froxlor

The server administration software for your needs - The official Froxlor development Git repository

From its GitHub repository.
Monthly downloads (Packagist)
189Packagist, 22 Nov 2026
Total downloads (Packagist)
512Packagist, 22 Nov 2026
GitHub stars
1,753GitHub, 22 Nov 2026
Forks
467GitHub, 22 Nov 2026
Latest release
2.3.17GitHub, 22 Nov 2026
Released
8 Nov 2026GitHub
License
GNU Lesser General Public License, version 2.1Wikidata
Written in
PHPWikidata
First published on GitHub
6 Mar 2012GitHub

References