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


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPTERODACTYLWINGSROUTERDOWNLOADER-1083290
  • published9 Mar 2021
  • disclosed12 Feb 2021
  • creditSam Sanoop of Snyk Security Team

Introduced: 12 Feb 2021

CVE NOT AVAILABLE CWE-918  (opens 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

CVSS Scores

version 3.1