Skip to content

CVE-2024-35222 iFrames Bypass Origin Checks for Tauri API Access Control

MediumCVSS 5.9 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io tauri(crates.io) < 1.6.7; >= 2.0.0-beta.0, < 2.0.0-beta.20 1.6.7, 2.0.0-beta.20 Fixed
tauri = 1.6.6; >= 2.0.0-beta.0, <= 2.0.0-beta.19 after 2.0.0-beta.19 Fixed
tauri-apps tauri = <= 1.6.6; = >= 2.0.0-beta.0, <= 2.0.0-beta.19 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io tauri(crates.io) < 1.6.7 1.6.7
crates.io tauri(crates.io) >= 2.0.0-beta.0, < 2.0.0-beta.20 2.0.0-beta.20
tauri-apps tauri = <= 1.6.6 No fix listed
tauri-apps tauri = >= 2.0.0-beta.0, <= 2.0.0-beta.19 No fix listed
tauri = 1.6.6 No fix listed
tauri >= 2.0.0-beta.0, <= 2.0.0-beta.19 No fix listed

References