WHMCS Unauthenticated SQL Injection Could Expose Customer Records and Admin Password Hashes
What Happened — A critical SQL injection flaw was disclosed in WHMCS’s shopping‑cart module, the billing and automation platform that powers thousands of web‑hosting businesses worldwide. The vulnerability allows an unauthenticated remote attacker to craft a specially‑formed HTTP request that injects arbitrary SQL into the WHMCS database. Because the injection occurs before any authentication check, the attacker can retrieve any table contents, including the tblclients table (customer names, emails, billing addresses) and the tbladmins table where password hashes are stored. The flaw was reported to WHMCS by an independent researcher on 22 November 2026 and publicly disclosed the following day, together with two lower‑severity issues that require a logged‑in client. WHMCS released an emergency patch on 24 November 2026 and urged all customers to upgrade immediately.
Why It Matters for Trust & Control Assurance — The incident highlights the need for robust access‑control and input‑validation controls, a core control objective that underpins many compliance frameworks. Verisq’s Control Mapping capability helps organizations demonstrate that such controls are defined, monitored, and evidentially linked to audit requirements.
Who Is Affected —
- Web‑hosting providers and managed‑service companies that run WHMCS for billing, invoicing, and client automation.
- Any SaaS or SaaS‑adjacent businesses that embed WHMCS as a front‑end for customer self‑service.
Recommended Actions
- Apply the WHMCS patch released on 24 Nov 2026 to all production instances.
- Rotate every administrator password and enforce a strong hashing algorithm (e.g., bcrypt with a work factor ≥ 12).
- Deploy a Web Application Firewall (WAF) rule that blocks the specific injection payload pattern identified in the advisory.
- Conduct a full vulnerability scan of all WHMCS installations to verify no other injection points exist.
- Document the remediation steps, patch version, and password‑rotation evidence in your audit repository.
Source: The Hacker News
Technical Notes
- Attack Vector: Unauthenticated HTTP request to
cart.phpwith a craftedproduct_idparameter that concatenates malicious SQL. - Affected Versions: WHMCS 8.5.0 through 8.5.7 (exact version range disclosed in the vendor advisory).
- CVE: CVE‑2026‑XXXXX (assigned by MITRE; CVSS v3.1 base score 9.8 – Critical).
- Data Exposed: Customer personal data (name, email, address, billing details) and administrator password hashes stored in
tbladmins. - Detection: No public exploitation reports; the vulnerability was discovered through responsible disclosure.
- Remediation: WHMCS patched the input handling in
cart.phpby using prepared statements and added server‑side validation.
Source: [WHMCS Security Advisory]