Skip to main content
Menu
Advisories

Account takeover via a session isolation bypass in application JavaScript

GHSA-724J-456C-HJ36Published Updated GitHub

Description

An application author can bypass session isolation in application JavaScript and act with the permissions of a signed-in user who opens their application. This affects self-hosted Appsmith Community and Enterprise installations, including installations using default settings.

Impact

An attacker who can create and publish a public application can access a signed-in viewer's private workspaces, applications, and datasource configuration, and modify or delete resources available to that viewer. They may also change account details or create persistent access, subject to the viewer's permissions and authentication method. If the viewer is an instance administrator, the impact extends to administrative actions on the installation. The victim must open the attacker's application while signed in to the same Appsmith installation.

Affected and patched versions

Appsmith versions earlier than 2.5.0 are affected. Upgrade to 2.5.0 or later.

Workarounds

Until you upgrade, restrict application creation and publishing to trusted users, and avoid opening untrusted applications while signed in. These restrictions reduce exposure but do not replace the upgrade.

After upgrading

If you suspect exploitation, review account changes, workspace memberships, permissions, and access keys. Remove unauthorized access and rotate any credentials that may have been exposed.

Credits

Thanks to Catalin Iovita (@cataliniovita-snyk) of Snyk Security Labs for reporting this issue.

Affected versions

References

GitHub · appsmithorg/appsmith