CVE-2026-111047FOSSBilling >= 0.6.0, Improper Handling of Case Sensitivity
NVD
Vulnerability Summary
Summary Staff without the company-details permission can overwrite guarded company settings through `POST /api/admin/system/update_params`. `System\Service::canUpdateParam()` checks the submitted key with a case-sensitive `in_array()` match, while `SettingRepository::findOneByParam()` resolves the same key with a case-insensitive database lookup on MySQL and MariaDB, so a key such as `Company_Account_Number` passes the check and updates the existing `company_account_number` row. This includes bank and contact fields that appear on invoices and other customer-facing output. Impact A customer opening an existing unpaid invoice sees the attacker's bank account number, bank name, and BIC instead of the operator's. The invoice pages, the printable view, and the PDF all read those fields live from the company settings on every render, so already issued invoices change too. A staff member holding only the system parameter permission can make that change without the company-details or company-legal permissions. The same path also reaches the company contact fields and the public-visibility toggle, which controls what the unauthenticated guest company endpoint returns, and the company email address, which system mail uses as the From address when no explicit sender is configured. Affected Versions FOSSBilling versions 0.6.0 through 0.8.7. Patched Versions 0.8.8 Details The entry point is `POST /api/admin/system/update_params`, handled by `Box\Mod\System\Api\Admin::update_params()` and `Box\Mod\System\Service::updateParams()`. The update first calls `canUpdateParam()` and then resolves the row with `SettingRepository::findOneByParam()`, which is `findOneBy(['param' => $param])`, a plain `WHERE param = ?` lookup. The check compares byte for byte: ```php if (in_array($param, $company) && !$staff_service->hasPermission(null, 'system', 'manage_company_details')) { return false; } ``` On MySQL and MariaDB the `setting` table inherits the server default collation (`src/install/sql/structure.sql` declares `DEFAULT CHARSET=utf8` with no `COLLATE`), which is case-insensitive, so `Company_Account_Number` misses the list above yet matches the stored `company_account_number` row below. A trailing space behaves the same way under these collations. The sibling read path already assumes lower-case keys and rejects anything outside `/^[a-z0-9_]+$/` in `getSettingsByParams()`, but the write path applies no such rule. The gap dates to `5bd3ff77` (PR #1545, first tagged 0.6.0), which introduced the permission check with the same bare `in_array()`. The later hardening in `89b91027` (PR #3591, 0.8.0) added the four missing bank names to the list and added the pre-check exception in `updateParams()`, and `66c82f52` (PR #4146) moved the lookup into the repository, but neither changed how the two sides compare the key, which is why this path survived. Workarounds There is no complete workaround without patching. Limit Update System Parameters to staff trusted with company details, accepting that demoted staff lose other system settings, and review the guarded keys for unexpected values. As partial mitigation, restrict the `update_params` endpoint to trusted networks or reject non-lowercase param names at the proxy. Acknowledgements Thanks to @4n86rakam1 for responsibly reporting this vulnerability.
CVSS v4.0 Base Metrics — Score 7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- FOSSBilling >= 0.6.0, <= 0.8.7
- FOSSBilling 0.8.8
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run FOSSBilling >= 0.6.0, and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Oct 26, 2026Published
- Oct 26, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new FOSSBilling >= 0.6.0, CVEsYou are reading CVE-2026-111047. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 23, 2026 08:00 UTC