Skip to content
OpenAdvisories
Medium · 5.9 CVE-2024-35222 EUVD-2024-1434GHSA-57fm-592m-34r7

iFrames Bypass Origin Checks for Tauri API Access Control

Published May 23, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

Tauri is a framework for building binaries for all major desktop platforms. Remote origin iFrames in Tauri applications can access the Tauri IPC endpoints without being explicitly allowed in the `dangerousRemoteDomainIpcAccess` in v1 and in the `capabilities` in v2. Valid commands with potentially unwanted consequences ("delete project", "transfer credits", etc.) could be invoked by an attacker that controls the content of an iframe running inside a Tauri app. This vulnerability has been patched in versions 1.6.7 and 2.0.0-beta.19.

Affected products

VendorProductAffectedFixed
tauri-apps tauri <= 1.6.6, >= 2.0.0-beta.0, <= 2.0.0-beta.19 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io tauri < 1.6.7 1.6.7 GHSA-57fm-592m-34r7
crates.io tauri >= 2.0.0-beta.0, < 2.0.0-beta.20 2.0.0-beta.20 GHSA-57fm-592m-34r7

References