Zeroshell – Net Services Unauthenticated Remote Code Execution | RCE
Zeroshell is a small Linux distribution for servers and embedded devices with the aim to provide network services. It is available in the form of live CD or compact Flash image and it can be configured using a web browser. The main features of Zeroshell include: load balancing and failover of multiple Internet connections, UMTS/HSDPA connections by using 3G modems, RADIUS server for providing secure authentication and automatic management of encryption keys to wireless networks, captive portal to support web login, and many others. Three RCE vulnerabilities were discovered in Zeroshell, which allow an attacker to execute arbitrary code on the vulnerable system without authentication. The first vulnerability is a GET/POST request to the ‘/cgi-bin/kerbynet’ page with the ‘User’ parameter set to a malicious payload. The second vulnerability is a GET request to the ‘/cgi-bin/kerbynet’ page with the ‘x509type’ parameter set to a malicious payload. The third vulnerability is a GET request to the ‘/cgi-bin/kerbynet’ page with the ‘Object’ parameter set to a malicious payload.