Applicable to:
- SolusVM 2
- WHMCS
Situation
A security vulnerability was discovered in the SolusVM 2 WHMCS provisioning module, the module that connects WHMCS to SolusVM 2 for VPS provisioning. Under certain conditions, it may allow a WHMCS client to gain unauthorized access to an existing SolusVM 2 user account on a connected SolusVM 2 server. .
For details on installing and configuring the module, see the following article.
Affected Product Versions
Product / Component |
Affected Versions |
Patched Version |
|---|---|---|
SolusVM 2 WHMCS module |
All versions up to 1.0.74 |
1.0.75 |
Impact
An unauthorized user may be able to take over an existing SolusVM 2 account, including an administrator account, on a SolusVM 2 server that is connected to WHMCS.
Call to Action
- Update SolusVM 2 WHMCS provisioning module to version 1.0.75 or later.
-
After updating to 1.0.75, If you imported your customers from SolusVM 1, link their accounts once. On the WHMCS server, in modules/servers/solusvm2vps,run:
# php converter.php link-users --dry-run
# php converter.php link-users
-
Version 1.0.75 applies stricter rules when it matches a WHMCS client with a SolusVM 2 account. The module does not act on an account that does not meet them, so it is recommended to check your accounts after the update.
The rules:
- A WHMCS client has one SolusVM 2 account, and its Billing User ID is the WHMCS client ID.
- The account has the same email as the client.
- The account does not have an administrator role.
Сheck proposal is the following:
- In SolusVM 2, go to Access > API Tokens and click Generate API Token.
-
Get the list of users with the "List All Users" API request:
https://docs.solusvm.com/v2/api-reference/api.html#operation/list-of-users
It returns "id", "email", "billing_user_id" and "roles" for each user, 50 users per page.
- Compare each user that has a "billing_user_id" with the rules above.
To fix, open the user in Access > Users:
- Several accounts with the same Billing User ID: keep it on the account that owns the customer's servers and clear the field on the others.
- Another email than the client's: if the account belongs to that customer, make the emails the same. If it does not, clear the field.
- An administrator role: clear the field.
When you finish, delete the API token. If an account has a Billing User ID that you cannot explain, contact SolusVM support.
Comments
Please sign in to leave a comment.