CVE-2026-136936 — WebPros SolusVM 2 WHMCS Module — CWE-283
Unverified ownership in WebPros SolusVM 2 WHMCS module before 1.0.75 allows WHMCS clients to take over SolusVM 2 accounts via an email address change.
Unverified ownership in WebPros SolusVM 2 WHMCS module before 1.0.75 allows WHMCS clients to take over SolusVM 2 accounts via an email address change.
🎯 What is this vulnerability?
This vulnerability is a Broken Access Control flaw (CWE-283: Incorrect Ownership Verification) within the WebPros SolusVM 2 WHMCS module (versions prior to 1.0.75).
The core technical failure lies in the ownership verification logic during the account modification process. Specifically, when a WHMCS client initiates a request to change the email address associated with their SolusVM 2 account, the module fails to adequately verify that the requester is the legitimate owner of the target SolusVM 2 account.
In a secure implementation, changing a critical identifier like an email address (which is often used for password resets and account recovery) requires one of the following:
1. Verification of the current password.
2. A "magic link" sent to the current email address.
3. A two-factor authentication (2FA) challenge.
4. A strict check that the WHMCS client ID is explicitly linked to the SolusVM 2 account ID in the database, and that the request originates from an authenticated session belonging to that specific client.
The flaw suggests that the module likely relies on a weak or missing check, such as:
- Accepting a
solusvm_account_idparameter without verifying that the logged-in WHMCS user owns that specific ID. - Failing to re-authenticate or verify the current credentials before allowing the email change.
- Allowing the email change endpoint to be accessed by any authenticated WHMCS user, regardless of which SolusVM account they are trying to modify.
- Identify WHMCS Instance: The attacker identifies a target running WHMCS (e.g., via
/clientarea.php,/cart.php, orX-Powered-Byheaders). - Identify SolusVM Integration: The attacker checks for the presence of the SolusVM 2 module. This can be done by: * Looking for SolusVM-specific links in the client area (e.g., "Manage VPS", "SolusVM Console"). * Checking the WHMCS module directory (if accessible, though unlikely) or known module names in the WHMCS admin panel (if accessible). * Fingerprinting the version of the SolusVM WHMCS module if exposed in error messages or version strings.
- Create/Obtain WHMCS Account: The attacker registers a new, legitimate WHMCS client account on the target. This account does not need to have any SolusVM products attached initially.
This allows an attacker with a valid (but potentially low-privilege or unrelated) WHMCS client account to target another user's SolusVM 2 account, change its email address to an attacker-controlled address, and subsequently reset the SolusVM 2 password via the "forgot password" mechanism, leading to full account takeover.
⚡ Attack Chain
1. Discovery & Reconnaissance
2. Exploitation
The attacker exploits the broken ownership verification in the email change function.Illustrative PoC (Conceptual):
Note: The exact endpoint URI and parameter names are not specified in the CVE description. The following is an illustrative example of how such a vulnerability class is typically exploited in WHMCS modules.
1. Identify Target SolusVM Account ID: The attacker needs to know the solusvm_account_id of the victim. This might be obtained through:
* Enumeration of sequential IDs (if the module exposes them).
* Information leakage from other parts of the WHMCS interface.
* Social engineering.
Assumption for PoC:* The attacker knows the victim's SolusVM account ID is 12345.
2. Send Malicious Request: The attacker, while logged into their own WHMCS client account, sends a request to the SolusVM module's email change endpoint.
# Illustrative curl command
# Replace <WHMCS_URL> with the target WHMCS instance
# Replace <SESSION_COOKIE> with the attacker's valid WHMCS session cookie
# Replace <CSRF_TOKEN> with a valid CSRF token from the attacker's session
# Replace 12345 with the victim's SolusVM account ID
# Replace [email protected] with the attacker's controlled email
curl -X POST "https://<WHMCS_URL>/modules/servers/solusvm2/clientarea.php?action=change_email" \
-H "Cookie: whmcs_session=<SESSION_COOKIE>" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "solusvm_account_id=12345" \
-d "[email protected]" \
-d "csrf_token=<CSRF_TOKEN>"3. Bypass Ownership Check: Due to the vulnerability, the module does not verify that the logged-in WHMCS user (the attacker) is the owner of SolusVM account 12345. It proceeds to update the email address for SolusVM account 12345 to [email protected].
3. Post-Exploitation
1. Password Reset: The attacker navigates to the SolusVM 2 login page (or the WHMCS-managed SolusVM login) and initiates a "Forgot Password" flow for the victim's SolusVM account. 2. Intercept Reset Link: The password reset link is sent to[email protected].
3. Account Takeover: The attacker clicks the link, sets a new password for the SolusVM 2 account, and logs in.
4. Full Control: The attacker now has full administrative control over the victim's SolusVM 2 VPS/server, including:
* Access to the server console.
* Ability to modify server configuration.
* Access to any data stored on the VPS.
* Potential lateral movement if the VPS has network access to other internal systems.🌍 Real World Impact
Practical Consequences:
🛡️ Remediation & Mitigation
Exact Affected Versions and Upgrade Recommendation
Actionable Workarounds
1. Disable the Vulnerable Module (If Upgrade is Not Immediately Possible): * If upgrading is not possible, temporarily disable the SolusVM 2 WHMCS module in the WHMCS admin panel. This will prevent clients from managing their SolusVM accounts via WHMCS, but it will also break legitimate functionality. Note:* This is a drastic measure and should only be used as a temporary mitigation.2. Restrict Access to the Email Change Endpoint (WAF/ModSecurity):
* Implement a Web Application Firewall (WAF) rule to block requests to the SolusVM 2 email change endpoint unless the request is accompanied by strong authentication (e.g., re-authentication with password or 2FA).
Example ModSecurity Rule (Illustrative):*
# Block SolusVM 2 email change requests without re-authentication
SecRule REQUEST_URI "@contains /modules/servers/solusvm2/clientarea.php?action=change_email" \
"id:100001,phase:1,deny,status:403,msg:'Blocked SolusVM 2 email change without re-authentication'"Note:* This rule is illustrative and may need adjustment based on the actual endpoint and WAF configuration. It may also block legitimate requests if not carefully crafted.
3. Enforce Strong Authentication for Sensitive Actions:
* Configure WHMCS to require re-authentication (password or 2FA) for any account modification actions, including email changes. This is a general security best practice that can mitigate this and similar vulnerabilities.
Detection: Realistic Web Server Log Patterns and IoCs
1. Web Server Logs: * Look for POST requests to the SolusVM 2 email change endpoint from client accounts that do not own the target SolusVM account. Example Log Pattern:*POST /modules/servers/solusvm2/clientarea.php?action=change_email HTTP/1.1
...
solusvm_account_id=12345&[email protected]* Correlate the solusvm_account_id in the request with the authenticated WHMCS user ID in the session. If they do not match, it is a potential exploit attempt.
2. WHMCS Database Logs:
* Monitor the tblhosting or equivalent table in the WHMCS database for changes to the email field associated with SolusVM 2 accounts.
* Look for rapid changes to email addresses, especially if they are followed by password reset requests.
3. SolusVM 2 Logs:
* Check SolusVM 2 logs for password reset requests and successful logins from new IP addresses or with new email addresses.
4. Indicators of Compromise (IoCs):
* Unexpected email changes in SolusVM 2 accounts.
* Password reset requests for SolusVM 2 accounts from unfamiliar IP addresses.
* Successful logins to SolusVM 2 accounts with new credentials.
* Unusual activity on the compromised VPS (e.g., new processes, network connections, file modifications).
⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query