Remote code execution in GoAhead - CVE-2017-17562

 

Remote code execution in GoAhead - CVE-2017-17562

Published: December 28, 2017 / Updated: February 23, 2023


Vulnerability identifier: #VU9817
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-17562
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to an error in the cgiHandler function when CGI is enabled and a CGI program is dynamically linked. A remote attacker can make untrusted HTTP request parameters containing shared object payload in the cgiHandler function in cgi.c, allocate an array of pointers for the envp argument of the new process, initialize the environment of forked CGI scripts and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

GoAhead
Integrated Lights Out Manager
TD220MAX
TD220X
iNET II
iNET

How to mitigate CVE-2017-17562

Update to version 3.6.5.

TD220MAX - update to 1.2.6
TD220X - update to 2.0.16
iNET II - update to 8.3.0
iNET - update to 8.3.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins