Summary
CVE-2026-108107 is an unauthenticated SQL injection vulnerability (CWE-89) in the radius.php FreeRADIUS REST endpoint of PHPNuxBill, a hotspot billing application from hotspotbilling. It is rated critical (CVSS v4.0 score 9.3). A remote attacker can extract customer records and credentials without logging in.
Technical details
- Root cause:
radius.phpinterpolates request parameters directly intowhereRaw()queries, for exampleBINARY username = '$username' AND status = 'Active'. The helper functions that read request data only trim whitespace and perform no sanitization, type enforcement or parameterization. - Vulnerable parameters:
username,macAddrandnasid. - Trigger conditions: The attacker sends a crafted HTTP request to the FreeRADIUS REST endpoint in
radius.php. No authentication or user interaction is needed. The GitHub advisory’s proof of concept targetsradius.php?action=accountingwith a time-based payload such asusername=victim' OR SLEEP(5)%23. - Attack vector: Network.
- Impact: Time-based blind SQL injection allows extraction of customer records, service data and credentials. The advisory also notes possible authentication abuse and impact on confidentiality, integrity and availability.
Affected software
- PHPNuxBill (hotspotbilling/phpnuxbill) through 2025.3.20, per the CVE record.
- The GitHub advisory states that all versions are affected.
Severity
- CVSS v4.0: 9.3 (Critical) –
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 9.8 (Critical) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: The GitHub advisory lists no patched version at the time of research. Check the vendor repository for a release newer than 2025.3.20 and upgrade once one is available.
- No patch or workarounds: The advisory provides no official workarounds. Restrict network access to
radius.phpto trusted FreeRADIUS servers only, for example with firewall or web server access controls. Review the code and replace the raw string-interpolated queries with parameterized queries. Review web and database logs for requests toradius.phpwith SQL metacharacters orSLEEP(payloads.

