GoAhead Server CGI Remote Code Execution

high Nessus Plugin ID 105389

Synopsis

The remote server is vulnerable to a remote code execution vulnerability

Description

The remote server uses a version of GoAhead that allows a remote unauthenticated attacker to pass environment variables through a CGI script. This attack leads to remote code execution.

Solution

Update the GoAhead HTTP server to 3.6.5 or later.

See Also

https://github.com/embedthis/goahead/issues/99#issuecomment-307476085

https://www.elttam.com.au/blog/goahead/

Plugin Details

Severity: High

ID: 105389

File Name: goahead_cgi_rce.nbin

Version: 1.66

Type: remote

Family: CGI abuses

Published: 12/20/2017

Updated: 3/19/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.5

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2017-17562

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/9/2017

Vulnerability Publication Date: 6/9/2017

CISA Known Exploited Vulnerability Due Dates: 6/10/2022

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (GoAhead Web Server LD_PRELOAD Arbitrary Module Load)

Reference Information

CVE: CVE-2017-17562