KEVIntel
8.1
CVSS
High

CVE-2017-17562

PUBLISHED

Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked. This is a result of...

Exploited in the wild Remote No user interaction
Vendor
Embedthis
Product
GoAhead
Published
Dec 12, 2017
EPSS

Description

Embedthis GoAhead before 3.6.5 allows remote code execution if CGI is enabled and a CGI program is dynamically linked. This is a result of initializing the environment of forked CGI scripts using untrusted HTTP request parameters in the cgiHandler function in cgi.c. When combined with the glibc dynamic linker, this behaviour can be abused for remote code execution using special parameter names such as LD_PRELOAD. An attacker can POST their shared object payload in the body of the request, and reference it using /proc/self/fd/0.

cisa nuclei_scanner metasploit

CVSS scores

CVSS v3.1 8.1 High

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

CVSS v2.0 6.8

AV:N/AC:M/Au:N/C:P/I:P/A:P

Exploitation status

Exploited in the wild

Recorded 2021-12-10 00:00:00 UTC · Source

SSVC decision points

Exploitation
active
Automatable
No
Technical impact
total

Known exploited vulnerability sources

Catalogues that list this CVE as a known exploited vulnerability.

Source Added
CISA Dec 10, 2021
CISA Dec 10, 2021

Potential proof of concepts

These PoCs are unverified and could contain malware. Use at your own risk.

goahead_ldpreload

metasploit · Created Unknown

Metasploit module for CVE-2017-17562

freitzzz/bash-CVE-2017-17562

github · Created 2021-11-17 18:21:54 UTC · 1 stars

PoC for CVE-2017-17562 written in bash

crispy-peppers/Goahead-CVE-2017-17562

github · Created 2019-11-23 08:40:49 UTC · 0 stars

ivanitlearning/CVE-2017-17562

github · Created 2019-10-16 16:28:27 UTC · 9 stars

Standalone Python 3 exploit for CVE-2017-17562

1337g/CVE-2017-17562

github · Created 2017-12-27 05:46:50 UTC · 1 stars

CVE-2017-17562 GOAHEAD RCE (Author: Daniel Hodson)

Timeline

  • CVE ID Reserved

  • CVE Published to Public

  • Added to KEVIntel

  • Added to KEVIntel

  • Detected by Nuclei

  • Detected by Metasploit