Skip to content

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

Moderate severity GitHub Reviewed Published May 3, 2024 in pterodactyl/panel

Package

composer pterodactyl/panel (Composer)

Affected versions

< 1.11.6

Patched versions

1.11.6

Description

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:

pterodactyl/panel@1172d71
pterodactyl/panel@f671046
pterodactyl/panel@0dad4c5

References

@matthewpi matthewpi published to pterodactyl/panel May 3, 2024
Published by the National Vulnerability Database May 3, 2024
Published to the GitHub Advisory Database May 3, 2024
Reviewed May 3, 2024

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2024-34067

GHSA ID

GHSA-384w-wffr-x63q

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.