Advisory

GHSA-6rg3-8h8x-5xfv

Also known as: GO-2022-0389

Summary

Unchecked hostname resolution could allow access to local network resources by users outside the local network

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-23 18:04 UTC
Modified
2026-02-04 02:44 UTC

Affected packages and fixes

github.com/pterodactyl/wings

Go · All systems

Affected

  • introduced 1.2.0, fixed 1.2.1 (semver)

Fixed versions

1.2.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences