Advisory: Remote Command Execution as root in REDDOXX Appliance
The administrative interface of the REDDOXX appliance offers several diagnostic tools in the "Diagnostic Center". Ping is one of these tools. The interface for this tool contains two input fields, which allow users to specify a target host and a packet count. Through the ISO provided on the vendor's homepage, it was possible to analyze how these commands are embedded into the command-line of the ping command. The parameter $parameter->targetHost is not properly sanitized, which allows attackers to inject arbitrary command-line parameters. The following request will execute the command "id" on the appliance: POST /cgi-bin/diag.cgi HTTP/1.1 Host: <host> Content-Type: application/x-www-form-urlencoded Content-Length: <length> action=executeDiag&targetHost=127.0.0.1;id The output of the command will be displayed in the web interface.