CVE Watchtower

CVE-2026-111052FOSSBilling Insufficient Session Expiration

NVD

Vulnerability Summary

Summary Session invalidation in `Box\Mod\Profile\Service::deleteSessionIfMatching` only deletes admin sessions whose stored payload begins with `admin|`. Normal admin sessions store `csrf_token` first, so they are skipped. Password changes through `Profile/Api/Admin::change_password` and calls to `Profile/Api/Admin::destroy_sessions` therefore leave a previously obtained admin session with full access. Impact If someone has stolen or otherwise obtained an admin login session, changing the admin password does not lock them out. They stay logged in and keep full admin access until their session naturally expires. The attacker can keep reading and changing administrative data and generate a fresh API token, surviving both the password change and an explicit destroy-all-sessions call. Affected Versions FOSSBilling versions >= 0.5.5 and <= 0.8.7. Patched Versions 0.8.8 Details Both recovery paths funnel into `Box\Mod\Profile\Service::invalidateSessions` in `src/modules/Profile/Service.php`. `Profile/Api/Admin::change_password` calls it before updating the password hash, and `Profile/Api/Admin::destroy_sessions` calls it directly. Other admin password paths (`Staff/Service.php::changePassword`, `Staff/Api/Guest.php::update_password`) call it with an explicit `('admin', id)` pair, so they depend on the same matcher. The matcher in affected releases decodes each stored session and requires an exact prefix: ```php $data = base64_decode((string) $session['content']); $stringStart = ($type === 'admin') ? 'admin|' : 'client_id|'; if (!str_starts_with($data, $stringStart)) { return; } ``` A normal admin session never satisfies that check. Rendering any page sets `csrf_token` first (`TwigFactory::getCsrfToken`, `src/library/FOSSBilling/Twig/TwigFactory.php`), and login only adds `admin` afterwards (`Staff/Service.php::login`). Native PHP session serialization keeps that insertion order, so the decoded payload begins with `csrf_token|...` and the method returns early without comparing the admin id. The session row survives. The fixed code on current main no longer uses a prefix gate. It decodes the Symfony attribute bag (`_sf2_attributes|`) and looks up the identity by key (`$attributes['admin']['id']`), which works regardless of which key was stored first. The prefix gate dates to the feature itself: `20c23b051 (#1435)` introduced `invalidateSessions` with this check, first shipped in `0.5.5`. The later hardening behind `GHSA-rrp7-fvc6-xxrw` (patched in `0.8.5`) added missing `invalidateSessions` calls to the guest reset flows but left the matcher untouched, so every caller stayed broken. The matcher was replaced incidentally by `29f457924 (#4169)`, which migrated session storage to Symfony and removed the prefix logic entirely. Workarounds There is no complete workaround without patching. The `destroy_sessions` endpoint uses the same broken matcher, so it does not evict the surviving session either. After a suspected compromise, delete rows from the `session` table server-side (for example by flushing the session table) and then rotate the admin password. This logs out all users including the attacker, so treat it as an incident response step rather than routine use. Acknowledgements Thanks to @torjan0 for responsibly reporting this vulnerability.
Severity Level
HIGH(8.6)
Published Date
Oct 26, 2026
Last Modified
Oct 26, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
According to WASC, Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization.
CVSS v4.0 Base Metrics — Score 8.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Attack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)High
Integrity (Vulnerable System)High
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None

Affected & Patched Versions

Affected Versions
  • FOSSBilling >= 0.5.5, <= 0.8.7
Patched Versions
  • FOSSBilling 0.8.8

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is high.

  1. Check whether you run FOSSBilling and which version.
  2. 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 CVEsYou are reading CVE-2026-111052. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 14:01 UTC