A critical vulnerability discovered in GoAhead Servers with versions running below 3.6.5 allows an attacker can exploit a remote code in GoAhead web Servers which affect thousands of IoT Devices.

GoAhead world’s most popular embedded Web Servers that are deployed in millions of devices including printers, IP phones, networking devices and many more.

Among a list of its clients, some of the famous ones are Avaya, Siemens, Canon, IBM, D-Links, Kodak, HP.

The vulnerability can be tracked using CVE-2017-17562 and exits in the “CGI handler” function in all versions prior to 3.6.5.

Based on the Elttam report, The vulnerability is a result of Initialising the environment of forked CGI scripts using untrusted HTTP request parameters, and will affect all user’s who have CGI support enabled with dynamically linked executables (CGI scripts). This behavior, when combined with the glibc dynamic linker, can be abused for remote code execution using special variables such as LD_PRELOAD”.

This vulnerability provides the ability to the remote attacker to send malicious HTTP CGI request that can POST payload in the request and the exploitation could lead to an arbitrary code execution on the server.

Shodan search reveals a large number of devices (approx. more than 500,000) employing GoAhead server. So, as per now, a number of these could be vulnerable.

A patch has been released regarding the vulnerability and all the users have been advised to upgrade to GoAhead 3.6.5 if dynamically linked CGI programs are being used on Linux Machines.

Also Read: Hackers who created Dangerous Mirai IoT Botnet Plead Guilty

Elttam has also released POC that could be used to check if your GoAhead Servers version is prone to attack and to ensure security against the attack. The test scripts by Elttam can be found here.

With a large number of devices affected by this vulnerability, this seems to be a big trouble as a large pool of affected devices is now prone to malicious attackers.


Please enter your comment!
Please enter your name here