DEV Community

facilishz
facilishz

Posted on

WHMCS shopping cart SQL injection reaches client and admin records

WHMCS shopping cart SQL injection reaches client and admin records

CVE-2026-82981 is an SQL injection in the WHMCS shopping cart caused by insufficient input validation. The vendor states that an unauthenticated user could retrieve client personal and support information as well as administrator account records, including password hashes. The affected products start at WHMCS 9.0.0. Fixed releases are 9.1.2 and 9.0.10.

The shopping cart is often treated as a low-risk public surface because it accepts prospect data and product selections. This case shows why that assumption fails. A cart query runs inside the same application database that stores support tickets, customer details and administrative identities. A public request path can therefore become a path to records with much greater operational value.

Immediate remediation is to update to 9.1.2 or 9.0.10 according to the deployed branch. If the application cannot be updated at once, restrict or temporarily disable the affected cart flow, review the web application firewall for attempts against cart parameters, and increase monitoring of database errors and unusual response size. Those controls do not fix the SQL construction error, but they reduce the time an exposed instance remains open to automated probing.

Because administrator password hashes were in scope, a patch-only response may be incomplete. Review administrator sessions, forced password-reset policy and any authentication anomalies around the exposure window. Strong hashes reduce the chance of immediate recovery, but weak or reused passwords remain a practical risk. Check for changes to payment settings, mail templates, API credentials and admin accounts before assuming the attacker only read data.

Log analysis should combine web requests, database errors and application audit events. Look for unusual cart request patterns, time-correlated error spikes and responses that are much larger than normal. Export or bulk-query behavior may appear as repeated small requests rather than one obvious request. Preserve web-server logs and database audit records before rotation.

For managed hosting teams, this CVE is also an asset-identification problem. WHMCS installations can be customer-managed, white-labeled, behind reverse proxies or split across billing and support domains. The patch process should record the exact version and the public cart endpoint for each instance, then verify that the update reached every deployment image rather than only the main node.

References

Top comments (0)