Advisory: SolusLabs - SolusVM

Vendor details

Solus Virtual Manager (SolusVM) is a powerful GUI based VPS management system with full OpenVZ, Linux KVM, Xen Paravirtualization and Xen HVM support. SolusVM allows you and your clients to manage a VPS cluster with security & ease.

Vulnerability details

SolusVM contains a vulnerability that allows remote, unauthenticated attackers to inject SQL commands (SQLi) on vulnerable installations of SolusVM.

The files "/admincp/login.php" and "/admin/adminverify.php " do not sufficiently sanitize user-supplied data for the COOKIE variables "SMVC" and "SMVD".

The user-supplied values are decrypted using the mcrypt blowfish functions, however there is no sanitization of the decrypted data. Combined with the default setting of display mysql errors turned on, this allows an attacker to brute force the encryption key and gain, for example, administrator rights using "'||1#". Other types of attacks are possible by modifying the sql injection value.

This vulnerability bypasses any kind of internal error logging/IP retry restrictions and allows an unlimited amount of tries.


Attached PHP PoC: solusvm-02.txt

Advisory timeline