Server-side Request Forgery (SSRF) Affecting github.com/pterodactyl/wings/router/downloader package, versions >=1.2.1 <1.3.0


0.0
low
  • Attack Complexity

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-GOLANG-GITHUBCOMPTERODACTYLWINGSROUTERDOWNLOADER-1083290

  • published

    9 Mar 2021

  • disclosed

    12 Feb 2021

  • credit

    Sam Sanoop of Snyk Security Team

Introduced: 12 Feb 2021

CVE - NOT AVAILABLE
CWE-918 Open this link in a new tab
First added by Snyk

How to fix?

Upgrade github.com/pterodactyl/wings/router/downloader to version 1.3.0 or higher.

Overview

github.com/pterodactyl/wings/router/downloader is a Wings is Pterodactyl's server control plane, built for the rapidly changing gaming industry and designed to be highly performant and secure.

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF). It is possible for a malicious user to bypass the internalRanges blacklist check to scan or access resources on the local network by using decimal notation. The attack complexity of this vulnerability is high and exploitation is unlikely since Golang doesn't seem to support dialing IPs in decimal notation.

PoC

http://0177.0.0.1/
http://2130706433/ = http://127.0.0.1
http://3232235521/ = http://192.168.0.1
http://3232235777/ = http://192.168.1.1
http://2852039166/  = http://169.254.169.254