Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. froxlor/froxlor
  4. ›
  5. GHSA-q4rm-m6xh-5pv7

GHSA-q4rm-m6xh-5pv7: Froxlor customer can create MySQL databases on disallowed servers via Mysqls.add API

July 2, 2026

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.

References

  • github.com/advisories/GHSA-q4rm-m6xh-5pv7
  • github.com/froxlor/froxlor/security/advisories/GHSA-q4rm-m6xh-5pv7

Code Behaviors & Features

Detect and mitigate GHSA-q4rm-m6xh-5pv7 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.7

Fixed versions

  • 2.3.7

Solution

Upgrade to version 2.3.7 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization

Source file

packagist/froxlor/froxlor/GHSA-q4rm-m6xh-5pv7.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 00:19:15 +0000.