Advisory

GHSA-384w-wffr-x63q

Also known as: CVE-2024-34067

Summary

Pterodactyl panel's admin area vulnerable to Cross-site Scripting

Details

Impact

Importing a malicious egg or gaining access to wings instance could lead to XSS on the panel, which could be used to gain an administrator account on the panel. Specifically, the following things are impacted:

  • Egg Docker images
  • Egg variables: - Name - Environment variable - Default value - Description - Validation rules

Additionally, certain fields would reflect malicious input, but it would require the user knowingly entering such input to have an impact.

To iterate, this would require an administrator to perform actions and can't be triggered by a normal panel user.

Workarounds

No workaround is available other than updating to the latest version of the panel.

Patches

All of the following commits are required to resolve this security issue:

https://github.com/pterodactyl/panel/commit/1172d71d31561c4e465dabdf6b838e64de48ad16
https://github.com/pterodactyl/panel/commit/f671046947e4695b5e1c647df79305c1cefdf817
https://github.com/pterodactyl/panel/commit/0dad4c5a488661f9adc27dd311542516d9bfa0f2

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-05-03 20:29 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

pterodactyl/panel

Packagist · All systems

Affected

  • introduced 0, fixed 1.11.6 (ecosystem)

Fixed versions

1.11.6

Fix

The export has no generic command for this ecosystem.

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