GitHub Advisoryadvisory · Packagist
GHSA-384w-wffr-x63q Pterodactyl panel's admin area vulnerable to Cross-site Scripting
MEDIUM
Official page ↗
- Aliases
- CVE-2024-34067
- Ecosystem
- Packagist
- Packages
- pterodactyl/panel
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-05-03
Affected packages
• Packagist pterodactyl/panel: < 1.11.6 → fixed in 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:
https://github.com/pterodactyl/panel/commit/1172d71d31561c4e465dabdf6b838e64de48ad16
https://github.com/pterodactyl/panel/commit/f671046947e4695b5e1c647df79305c1cefdf817
https://github.com/pterodactyl/panel/commit/0dad4c5a488661f9adc27dd311542516d9bfa0f2
Related
Alias · CVE (1)
- CVE-2024-34067 Pterodactyl is a free, open-source game server management panel built with PHP, React, and Go. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/pterodactyl/panel/security/advisories/GHSA-384w-wffr-x63q web
- https://nvd.nist.gov/vuln/detail/CVE-2024-34067 advisory
- https://github.com/pterodactyl/panel/commit/0dad4c5a488661f9adc27dd311542516d9bfa0f2 web
- https://github.com/pterodactyl/panel/commit/1172d71d31561c4e465dabdf6b838e64de48ad16 web
- https://github.com/pterodactyl/panel/commit/f671046947e4695b5e1c647df79305c1cefdf817 web
- https://github.com/pterodactyl/panel package