Description
An unauthenticated SQL injection vulnerability exists in the Kloxo web hosting control panel (developed by LXCenter) prior to version 6.1.12. The flaw resides in the login-name parameter passed to lbin/webcommand.php, which fails to properly sanitize input, allowing an attacker to extract the administrator’s password from the backend database. After recovering valid credentials, the attacker can authenticate to the Kloxo control panel and leverage the Command Center feature (display.php) to execute arbitrary operating system commands as root on the underlying host system. This vulnerability was reported to be exploited in the wild in January 2014.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| LXCenter | Kloxo | < 6.1.12 | 6.1.12 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Kloxo SQL Injection and Remote Code Execution
exploit/linux/http/kloxo_sqli
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://web.archive.org/web/20140301125222/http://www.webhostingtalk.com/showthread.php?p=8996984
- https://web.archive.org/web/20141118054734/https://vpsboard.com/topic/3384-kloxo-installations-compromised/
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/linux/http/kloxo_sqli.rb exploit
- https://github.com/lxcenter/kloxo product
- https://www.exploit-db.com/exploits/31577 exploit
- https://www.vulncheck.com/advisories/kloxo-unauth-sqli-rce third-party-advisory