Skip to content

v0.1.4 — Security release

Latest

Choose a tag to compare

@ksroga ksroga released this 16 Oct 07:55

⚠️ Security release — upgrade immediately

This release fixes a critical vulnerability (CVSS 9.9) in the addon's API key endpoints. All installations running 0.1.3 or earlier are affected.

Advisory: GHSA-77vh-c4jh-rv29

Upgrade

cd /var/www/pterodactyl
composer require pteroca-com/pterodactyl-addon:^0.1.4
php artisan optimize:clear

No configuration changes are needed in PteroCA. Your Application API key needs read and write access to users, which it already has if PteroCA can create users.

After upgrading

Review account API keys on administrator accounts and look for unexpected root_admin users. Revoke anything you don't recognize. See the advisory for details.

Changes

  • Security: addon /api/application/* routes now use Pterodactyl's application-api middleware (admin only).
  • Security: creating or deleting user API keys requires users write permission and root_admin, and input is validated.
  • Security: the SSO endpoint is hardened (tokens must have an expiry and the secret must be set; post-login redirects are limited to paths on the same site).
  • Fix: deleting a user API key returned HTTP 500 on Pterodactyl 1.11+.

Tested on Pterodactyl 1.11.11 and 1.15.1.

Thanks to @Red-Banana-Official for responsibly reporting this issue.