Skip to content

SwanDesk 2608.31.1

Choose a tag to compare

@MicroPros-Net MicroPros-Net released this 01 Sep 01:58
· 5 commits to main since this release

Security fix — updating is recommended for all installations.

Text submitted by a user could contain template macro placeholders, which the page renderer then resolved when that content was displayed. Because those placeholders were resolved against the application's configuration, crafted content could cause confidential configuration values — including the license key — to be displayed to whoever viewed the page.

This affected any user-submitted content that is rendered back into a page. Ticket descriptions are included, and those can arrive from customers through the portal or by email, so no special access was needed to trigger it.

The macro resolver now uses an allow-list: only a small set of display values (site name, brand color, help desk name, base URL) resolve, and everything else is discarded. The equivalent lookup against user records was restricted the same way, to display fields only.

Also fixed

Several pages showed raw template placeholders instead of their text — most visibly the "Forgot Password" dialog, which displayed {$L_H_ForgotPassword} in place of its heading. The password reset, two-factor, access-denied, and error pages now all go through the normal rendering path.

Upgrading

Install over your existing version. No configuration or database changes are required.