All vulnerabilities

Servers and applications

GHSA-q4rm-m6xh-5pv7

Froxlor customer can create MySQL databases on disallowed servers via Mysqls.add API

Severity
Medium 4.3
Published
29 May 2026
Last changed
29 May 2026
Added to UpHeron
1 Nov 2026
Fixed in
2.3.7
Weakness
Improper authorization (CWE-285)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Sources
Project advisories (GitHub)

Description

The Mysqls.add API command (lib/Froxlor/Api/Commands/Mysqls.php) accepts a customer-controlled mysql_server parameter and only validates that the value is numeric and that the server index exists in userdata.inc.php. It never checks the value against the calling customer's allowed_mysqlserver allowlist. A customer can therefore create a database, plus a MySQL user with a password they choose, on any MySQL server the operator has configured — including servers that were explicitly excluded from that customer (e.g. a separate cluster, premium-tier host, or another tenant pool). The same allowed_mysqlserver check is correctly enforced in MysqlServer::get() / MysqlServer::listing() and in the customer-facing UI (customer_mysql.php), confirming the omission is a bug, not by-design.

Vulnerable code path — lib/Froxlor/Api/Commands/Mysqls.php:69-99 (add()):

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

Affected software

SoftwareAffected versions
FroxlorServers and applications · github:froxlor/froxlor
  • Every version before 2.3.7

About Froxlor

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

From its GitHub repository.
Monthly downloads (Packagist)
159Packagist, 15 Nov 2026
Total downloads (Packagist)
406Packagist, 15 Nov 2026
GitHub stars
1,752GitHub, 15 Nov 2026
Forks
467GitHub, 15 Nov 2026
Latest release
2.3.17GitHub, 15 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