GitHub Advisoryadvisory · Go

GHSA-6rg3-8h8x-5xfv Unchecked hostname resolution could allow access to local network resources by users outside the local network

MEDIUM Published 2021-06-23 Modified 2021-10-05 Official page ↗
Ecosystem
Go
Packages
github.com/pterodactyl/wings
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Weaknesses
CWE-284, CWE-441
Reviewed
2021-06-23

Affected packages

• Go github.com/pterodactyl/wings: >= 1.2.0, < 1.2.1 → fixed in 1.2.1

Description

Impact A newly implemented route allowing users to download files from remote endpoints was not properly verifying the destination hostname for user provided URLs. This would allow malicious users to potentially access resources on local networks that would otherwise be inaccessible. This vulnerability requires valid authentication credentials and is therefore not exploitable by unauthenticated users. If you are running an instance for yourself or other trusted individuals this impact is unlikely to be of major concern to you. However, you should still upgrade for security sake. Patches Users should upgrade to the latest version of Wings. Workarounds There is no workaround available that does not involve modifying Panel or Wings code.

Related

Weakness · CWE (2)

  • CWE-284 Improper Access Control weakness
  • CWE-441 Unintended Proxy or Intermediary weakness

References